From e8fe6273f9305f3e4f6e483770fd23f9e9b4ac91 Mon Sep 17 00:00:00 2001 From: Caio Oliveira Date: Fri, 8 Aug 2025 09:18:45 -0700 Subject: [PATCH] anv: Advertise VK_KHR_shader_untyped_pointers Acked-by: Faith Ekstrand Part-of: --- docs/features.txt | 1 + docs/relnotes/new_features.txt | 1 + src/intel/vulkan/anv_physical_device.c | 4 ++++ 3 files changed, 6 insertions(+) diff --git a/docs/features.txt b/docs/features.txt index 6df707e5b01..2096445b219 100644 --- a/docs/features.txt +++ b/docs/features.txt @@ -572,6 +572,7 @@ Khronos extensions that are not part of any Vulkan version: VK_KHR_shader_relaxed_extended_instruction DONE (anv, hasvk, hk, nvk, panvk, 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, nvk, panvk/v10+, radv, vn) + VK_KHR_shader_untyped_pointers DONE (anv) VK_KHR_shared_presentable_image not started VK_KHR_surface DONE (anv, dzn, hasvk, hk, lvp, nvk, panvk, pvr, radv, tu, v3dv, vn) VK_KHR_surface_protected_capabilities DONE (anv, hk, lvp, nvk, radv, tu, v3dv, vn) diff --git a/docs/relnotes/new_features.txt b/docs/relnotes/new_features.txt index 7b0ad576a1b..95d46ebe36d 100644 --- a/docs/relnotes/new_features.txt +++ b/docs/relnotes/new_features.txt @@ -3,3 +3,4 @@ GL_ARB_robust_buffer_access_behavior, GL_KHR_robust_buffer_access_behavior and G VK_EXT_mutable_descriptor_type on panvk/v9+ GL_KHR_robustness on v3d VK_ARM_shader_core_builtins on panvk +VK_KHR_shader_untyped_pointers on anv diff --git a/src/intel/vulkan/anv_physical_device.c b/src/intel/vulkan/anv_physical_device.c index 21e91eabd90..8d615719b86 100644 --- a/src/intel/vulkan/anv_physical_device.c +++ b/src/intel/vulkan/anv_physical_device.c @@ -247,6 +247,7 @@ get_device_extensions(const struct anv_physical_device *device, .KHR_shader_subgroup_rotate = true, .KHR_shader_subgroup_uniform_control_flow = true, .KHR_shader_terminate_invocation = true, + .KHR_shader_untyped_pointers = true, .KHR_spirv_1_4 = true, .KHR_storage_buffer_storage_class = true, #ifdef ANV_USE_WSI_PLATFORM @@ -981,6 +982,9 @@ get_features(const struct anv_physical_device *pdevice, /* VK_KHR_present_wait2 */ .presentWait2 = true, + + /* VK_KHR_shader_untyped_pointers */ + .shaderUntypedPointers = true, }; /* The new DOOM and Wolfenstein games require depthBounds without