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: 649ebbb0fb ("pvr: Implement VK_EXT_texel_buffer_alignment")
Signed-off-by: Vlad Schiller <vlad-radu.schiller@imgtec.com>
Reviewed-by: Frank Binns <frank.binns@imgtec.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26002>
(cherry picked from commit 1dd1c9d610)
This commit is contained in:
Vlad Schiller
2023-11-02 08:08:01 +00:00
committed by Eric Engestrom
parent cf3bd8bedc
commit 1357b74292
2 changed files with 7 additions and 1 deletions

View File

@@ -1014,7 +1014,7 @@
"description": "pvr: Fix VK_EXT_texel_buffer_alignment",
"nominated": true,
"nomination_type": 1,
"resolution": 0,
"resolution": 1,
"main_sha": null,
"because_sha": "649ebbb0fb7a429034314d12622da23065c2a88d",
"notes": null

View File

@@ -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,