anv: enable single texel alignment

Signed-off-by: Rohan Garg <rohan.garg@intel.com>
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Cc: mesa-stable
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23263>
(cherry picked from commit f6a83ec988)
This commit is contained in:
Rohan Garg 2023-05-26 17:36:17 +02:00 committed by Eric Engestrom
parent 16d8815c09
commit a913343de5
2 changed files with 2 additions and 2 deletions

View file

@ -1876,7 +1876,7 @@
"description": "anv: enable single texel alignment",
"nominated": true,
"nomination_type": 0,
"resolution": 0,
"resolution": 1,
"main_sha": null,
"because_sha": null
},

View file

@ -2031,7 +2031,7 @@ anv_get_physical_device_properties_1_3(struct anv_physical_device *pdevice,
* experience demonstrate that this is true.
*/
p->uniformTexelBufferOffsetAlignmentBytes = 1;
p->uniformTexelBufferOffsetSingleTexelAlignment = false;
p->uniformTexelBufferOffsetSingleTexelAlignment = true;
p->maxBufferSize = pdevice->isl_dev.max_buffer_size;
}