From 65f3d7fb7f71f63ec4e84fcc3d0fc12ded740b24 Mon Sep 17 00:00:00 2001 From: Faith Ekstrand Date: Tue, 15 Apr 2025 13:30:28 -0500 Subject: [PATCH] nvk: Advertise KHR_shader_untyped_pointers Acked-by: Caio Oliveira Part-of: --- docs/features.txt | 2 +- src/nouveau/vulkan/nvk_physical_device.c | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/docs/features.txt b/docs/features.txt index 2096445b219..8141a55d5f6 100644 --- a/docs/features.txt +++ b/docs/features.txt @@ -572,7 +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_shader_untyped_pointers DONE (anv, nvk) 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/src/nouveau/vulkan/nvk_physical_device.c b/src/nouveau/vulkan/nvk_physical_device.c index 12eb0df4d84..ba698962e08 100644 --- a/src/nouveau/vulkan/nvk_physical_device.c +++ b/src/nouveau/vulkan/nvk_physical_device.c @@ -187,6 +187,7 @@ nvk_get_device_extensions(const struct nvk_instance *instance, .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 NVK_USE_WSI_PLATFORM @@ -508,6 +509,9 @@ nvk_get_device_features(const struct nv_device_info *info, /* VK_KHR_shader_subgroup_uniform_control_flow */ .shaderSubgroupUniformControlFlow = true, + /* KHR_shader_untyped_pointers */ + .shaderUntypedPointers = true, + /* VK_KHR_unified_image_layouts */ .unifiedImageLayouts = true, .unifiedImageLayoutsVideo = true,