panvk: enable uniformAndStorageBuffer8BitAccess and storagePushConstant8

8-bit loads are already supported by bi_emit_load_ubo and
bi_emit_load_push_constant, so the only necessary changes were fixing
swizzle lowering issues uncovered by these CTS tests.

Signed-off-by: Benjamin Lee <benjamin.lee@collabora.com>
Reviewed-by: Eric R. Smith <eric.smith@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/33416>
This commit is contained in:
Benjamin Lee
2025-02-05 13:45:29 -08:00
parent b683a59438
commit 28e2d9088c
2 changed files with 4 additions and 2 deletions

View File

@@ -32,3 +32,5 @@ VK_EXT_sample_locations on RADV for GFX10+
GL_ARB_shader_clock on panvk
VK_KHR_float_controls on panvk
VK_KHR_float_controls2 on panvk
storageBuffer8BitAccess on panvk
uniformAndStorageBuffer8BitAccess on panvk

View File

@@ -399,8 +399,8 @@ get_features(const struct panvk_physical_device *device,
.samplerMirrorClampToEdge = true,
.drawIndirectCount = false,
.storageBuffer8BitAccess = true,
.uniformAndStorageBuffer8BitAccess = false,
.storagePushConstant8 = false,
.uniformAndStorageBuffer8BitAccess = true,
.storagePushConstant8 = true,
.shaderBufferInt64Atomics = false,
.shaderSharedInt64Atomics = false,
.shaderFloat16 = arch >= 10,