nvk: Advertise the rest of the subgroup ops

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26264>
This commit is contained in:
Faith Ekstrand 2023-11-17 10:54:55 -06:00 committed by Marge Bot
parent 1bc865ca8a
commit 62006c2f96
2 changed files with 7 additions and 1 deletions

View file

@ -542,9 +542,13 @@ nvk_get_device_properties(const struct nvk_instance *instance,
/* Vulkan 1.1 properties */
.subgroupSize = 32,
.subgroupSupportedStages = nvk_nak_stages(info),
.subgroupSupportedOperations = VK_SUBGROUP_FEATURE_BALLOT_BIT |
.subgroupSupportedOperations = VK_SUBGROUP_FEATURE_ARITHMETIC_BIT |
VK_SUBGROUP_FEATURE_BALLOT_BIT |
VK_SUBGROUP_FEATURE_BASIC_BIT |
VK_SUBGROUP_FEATURE_CLUSTERED_BIT |
VK_SUBGROUP_FEATURE_QUAD_BIT |
VK_SUBGROUP_FEATURE_SHUFFLE_BIT |
VK_SUBGROUP_FEATURE_SHUFFLE_RELATIVE_BIT |
VK_SUBGROUP_FEATURE_VOTE_BIT,
.subgroupQuadOperationsInAllStages = false,
.pointClippingBehavior = VK_POINT_CLIPPING_BEHAVIOR_USER_CLIP_PLANES_ONLY,

View file

@ -141,8 +141,10 @@ nvk_physical_device_spirv_options(const struct nvk_physical_device *pdev,
.runtime_descriptor_array = true,
.shader_clock = true,
.shader_viewport_index_layer = true,
.subgroup_arithmetic = true,
.subgroup_ballot = true,
.subgroup_basic = true,
.subgroup_quad = true,
.subgroup_shuffle = true,
.subgroup_vote = true,
.tessellation = true,