Module: Mesa
Branch: main
Commit: f6a83ec9886bc000357a663d6d24099b3bf6a212
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=f6a83ec9886bc000357a663d6d24099b3bf6a212

Author: Rohan Garg <[email protected]>
Date:   Fri May 26 17:36:17 2023 +0200

anv: enable single texel alignment

Signed-off-by: Rohan Garg <[email protected]>
Reviewed-by: Lionel Landwerlin <[email protected]>
Cc: mesa-stable
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23263>

---

 src/intel/vulkan/anv_device.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/intel/vulkan/anv_device.c b/src/intel/vulkan/anv_device.c
index c89f477d003..fd3ac64f5b0 100644
--- a/src/intel/vulkan/anv_device.c
+++ b/src/intel/vulkan/anv_device.c
@@ -1990,7 +1990,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;
 }

Reply via email to