From a913343de5eeb9c843f7c081542aacd7feb5f00f Mon Sep 17 00:00:00 2001 From: Rohan Garg Date: Fri, 26 May 2023 17:36:17 +0200 Subject: [PATCH] anv: enable single texel alignment Signed-off-by: Rohan Garg Reviewed-by: Lionel Landwerlin Cc: mesa-stable Part-of: (cherry picked from commit f6a83ec9886bc000357a663d6d24099b3bf6a212) --- .pick_status.json | 2 +- src/intel/vulkan/anv_device.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.pick_status.json b/.pick_status.json index 26065a21c24..9ed26945278 100644 --- a/.pick_status.json +++ b/.pick_status.json @@ -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 }, diff --git a/src/intel/vulkan/anv_device.c b/src/intel/vulkan/anv_device.c index 01844610dcf..a0336c0ab69 100644 --- a/src/intel/vulkan/anv_device.c +++ b/src/intel/vulkan/anv_device.c @@ -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; }