From 85b8579bf6a0b80cd65f1453244df5137b0ae7c1 Mon Sep 17 00:00:00 2001 From: Rohan Garg Date: Thu, 22 Aug 2024 16:51:28 +0200 Subject: [PATCH] radv: 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 Reviewed-by: Samuel Pitoiset Acked-by: Faith Ekstrand Part-of: --- src/amd/vulkan/radv_physical_device.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/amd/vulkan/radv_physical_device.c b/src/amd/vulkan/radv_physical_device.c index 193697fb919..89455e96c61 100644 --- a/src/amd/vulkan/radv_physical_device.c +++ b/src/amd/vulkan/radv_physical_device.c @@ -559,6 +559,7 @@ radv_physical_device_get_supported_extensions(const struct radv_physical_device .KHR_shader_maximal_reconvergence = true, .KHR_shader_non_semantic_info = true, .KHR_shader_quad_control = true, + .KHR_shader_relaxed_extended_instruction = true, .KHR_shader_subgroup_extended_types = true, .KHR_shader_subgroup_rotate = true, .KHR_shader_subgroup_uniform_control_flow = true, @@ -1241,6 +1242,9 @@ radv_physical_device_get_features(const struct radv_physical_device *pdev, struc /* VK_KHR_pipeline_binary */ .pipelineBinaries = true, + + /* VK_KHR_shader_relaxed_extended_instruction */ + .shaderRelaxedExtendedInstruction = true, }; }