From 1dd1c9d610dbe0fffd8708977afc0aa88d4a457c Mon Sep 17 00:00:00 2001 From: Vlad Schiller Date: Thu, 2 Nov 2023 08:08:01 +0000 Subject: [PATCH] pvr: Fix VK_EXT_texel_buffer_alignment In the commit that enabled the extension, I forgot to add the required properties, which made some tests to fail. Fixes: 649ebbb0fb7 ("pvr: Implement VK_EXT_texel_buffer_alignment") Signed-off-by: Vlad Schiller Reviewed-by: Frank Binns Part-of: --- src/imagination/vulkan/pvr_device.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/imagination/vulkan/pvr_device.c b/src/imagination/vulkan/pvr_device.c index 4b94d20254d..d598cb8a8a7 100644 --- a/src/imagination/vulkan/pvr_device.c +++ b/src/imagination/vulkan/pvr_device.c @@ -591,6 +591,12 @@ static bool pvr_physical_device_get_properties( /* Vulkan 1.2 / VK_KHR_timeline_semaphore */ .maxTimelineSemaphoreValueDifference = UINT64_MAX, + + /* Vulkan 1.3 / VK_EXT_texel_buffer_alignment */ + .storageTexelBufferOffsetAlignmentBytes = 16, + .storageTexelBufferOffsetSingleTexelAlignment = true, + .uniformTexelBufferOffsetAlignmentBytes = 16, + .uniformTexelBufferOffsetSingleTexelAlignment = false, }; snprintf(properties->deviceName,