From 97f41bc819da1700d7941dba7eb8577eae04bda9 Mon Sep 17 00:00:00 2001 From: Rohan Garg Date: Thu, 22 Aug 2024 17:20:58 +0200 Subject: [PATCH] v3dv: enable VK_KHR_shader_relaxed_extended_instruction The extension only affects non semantic instructions that need no handling in the backend compiler. Signed-off-by: Rohan Garg Acked-by: Faith Ekstrand Part-of: --- src/broadcom/vulkan/v3dv_device.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/broadcom/vulkan/v3dv_device.c b/src/broadcom/vulkan/v3dv_device.c index 6ebef4e2696..be61bea29f8 100644 --- a/src/broadcom/vulkan/v3dv_device.c +++ b/src/broadcom/vulkan/v3dv_device.c @@ -177,6 +177,7 @@ get_device_extensions(const struct v3dv_physical_device *device, .KHR_shader_expect_assume = true, .KHR_shader_float_controls = true, .KHR_shader_non_semantic_info = true, + .KHR_shader_relaxed_extended_instruction = true, .KHR_sampler_mirror_clamp_to_edge = true, .KHR_sampler_ycbcr_conversion = true, .KHR_spirv_1_4 = true, @@ -507,6 +508,9 @@ get_features(const struct v3dv_physical_device *physical_device, /* VK_EXT_swapchain_maintenance1 */ .swapchainMaintenance1 = true, #endif + + /* VK_KHR_shader_relaxed_extended_instruction */ + .shaderRelaxedExtendedInstruction = true, }; }