From 705dc133c22d5af4b0011785c104a9a1a8cd61cd Mon Sep 17 00:00:00 2001 From: Faith Ekstrand Date: Tue, 2 Apr 2024 17:08:53 -0500 Subject: [PATCH] hasvk: Advertise VK_EXT_shader_replicated_composites Part-of: --- docs/features.txt | 2 +- docs/relnotes/new_features.txt | 2 +- src/intel/vulkan_hasvk/anv_device.c | 4 ++++ 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/docs/features.txt b/docs/features.txt index 1fa1753022d..8367ac7893b 100644 --- a/docs/features.txt +++ b/docs/features.txt @@ -621,7 +621,7 @@ Khronos extensions that are not part of any Vulkan version: VK_EXT_shader_atomic_float2 DONE (anv, lvp, radv) VK_EXT_shader_image_atomic_int64 DONE (nvk, radv) VK_EXT_shader_object DONE (lvp, nvk, radv) - VK_EXT_shader_replicated_composites DONE (anv, nvk) + VK_EXT_shader_replicated_composites DONE (anv, hasvk, nvk) VK_EXT_shader_stencil_export DONE (anv, lvp, radv, tu, vn) VK_EXT_shader_subgroup_ballot DONE (anv, dzn, hasvk, lvp, nvk, radv, vn) VK_EXT_shader_subgroup_vote DONE (anv, dzn, hasvk, lvp, nvk, radv) diff --git a/docs/relnotes/new_features.txt b/docs/relnotes/new_features.txt index c77cb7b3b71..60bae57f4fe 100644 --- a/docs/relnotes/new_features.txt +++ b/docs/relnotes/new_features.txt @@ -1,4 +1,4 @@ VK_KHR_dynamic_rendering_local_read on RADV VK_EXT_legacy_vertex_attributes on lavapipe, ANV, Turnip and RADV VK_MESA_image_alignment_control on RADV -VK_EXT_shader_replicated_composites on ANV, nvk +VK_EXT_shader_replicated_composites on ANV, hasvk, nvk diff --git a/src/intel/vulkan_hasvk/anv_device.c b/src/intel/vulkan_hasvk/anv_device.c index 2390a327b49..6b4a092b04e 100644 --- a/src/intel/vulkan_hasvk/anv_device.c +++ b/src/intel/vulkan_hasvk/anv_device.c @@ -314,6 +314,7 @@ get_device_extensions(const struct anv_physical_device *device, .EXT_shader_atomic_float = true, .EXT_shader_demote_to_helper_invocation = true, .EXT_shader_module_identifier = true, + .EXT_shader_replicated_composites = true, .EXT_shader_subgroup_ballot = true, .EXT_shader_subgroup_vote = true, .EXT_shader_viewport_index_layer = true, @@ -591,6 +592,9 @@ get_features(const struct anv_physical_device *pdevice, /* VK_EXT_shader_module_identifier */ .shaderModuleIdentifier = true, + /* VK_EXT_shader_replicated_composites */ + .shaderReplicatedComposites = true, + /* VK_KHR_shader_subgroup_uniform_control_flow */ .shaderSubgroupUniformControlFlow = true,