From 0a92ee50a1e6ed91bf8b04ed2ae485b28514f535 Mon Sep 17 00:00:00 2001 From: Simon Perretta Date: Fri, 3 Oct 2025 12:34:14 +0100 Subject: [PATCH] pvr: advertise VK_KHR_shader_relaxed_extended_instruction Handled by common code. Signed-off-by: Simon Perretta Reviewed-by: Frank Binns Part-of: --- docs/features.txt | 2 +- docs/relnotes/new_features.txt | 1 + src/imagination/vulkan/pvr_device.c | 4 ++++ 3 files changed, 6 insertions(+), 1 deletion(-) diff --git a/docs/features.txt b/docs/features.txt index a2fb110e11f..506cffb51b1 100644 --- a/docs/features.txt +++ b/docs/features.txt @@ -571,7 +571,7 @@ Khronos extensions that are not part of any Vulkan version: VK_KHR_shader_bfloat16 DONE (anv/gfx12.5+, radv/gfx12+) VK_KHR_shader_clock DONE (anv, hasvk, lvp, nvk, panvk, radv, tu, vn) VK_KHR_shader_maximal_reconvergence DONE (anv, hk, lvp, nvk, panvk/v10+, radv, vn) - VK_KHR_shader_relaxed_extended_instruction DONE (anv, hasvk, hk, lvp, nvk, panvk, radv, tu, v3dv, vn) + VK_KHR_shader_relaxed_extended_instruction DONE (anv, hasvk, hk, lvp, nvk, panvk, pvr, radv, tu, v3dv, vn) VK_KHR_shader_subgroup_uniform_control_flow DONE (anv, hasvk, hk, nvk, panvk/v10+, radv, tu, vn) VK_KHR_shader_quad_control DONE (anv, hk, lvp, nvk, panvk/v10+, radv, vn) VK_KHR_shader_untyped_pointers DONE (anv, nvk, radv) diff --git a/docs/relnotes/new_features.txt b/docs/relnotes/new_features.txt index 28f0084e0ad..37b691664fb 100644 --- a/docs/relnotes/new_features.txt +++ b/docs/relnotes/new_features.txt @@ -77,3 +77,4 @@ shaderCullDistance on pvr VK_EXT_zero_initialize_device_memory on pvr VK_KHR_sampler_mirror_clamp_to_edge on pvr VK_KHR_shader_non_semantic_info on pvr +VK_KHR_shader_relaxed_extended_instruction on pvr diff --git a/src/imagination/vulkan/pvr_device.c b/src/imagination/vulkan/pvr_device.c index 54389c56c0c..58e76c9e45c 100644 --- a/src/imagination/vulkan/pvr_device.c +++ b/src/imagination/vulkan/pvr_device.c @@ -214,6 +214,7 @@ static void pvr_physical_device_get_supported_extensions( .KHR_shader_expect_assume = false, .KHR_shader_float_controls = true, .KHR_shader_non_semantic_info = true, + .KHR_shader_relaxed_extended_instruction = true, .KHR_shader_subgroup_extended_types = true, .KHR_spirv_1_4 = true, .KHR_shader_terminate_invocation = true, @@ -387,6 +388,9 @@ static void pvr_physical_device_get_supported_features( /* Vulkan 1.2 / VK_KHR_separate_depth_stencil_layouts */ .separateDepthStencilLayouts = true, + /* VK_KHR_shader_relaxed_extended_instruction */ + .shaderRelaxedExtendedInstruction = true, + /* Vulkan 1.2 / VK_KHR_shader_subgroup_extended_types */ .shaderSubgroupExtendedTypes = true,