anv: Advertise VK_KHR_shader_subgroup_rotate

Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/27272>
This commit is contained in:
Caio Oliveira
2022-11-16 20:40:49 -08:00
committed by Marge Bot
parent 4af079960d
commit 5a44d0fd1d
2 changed files with 6 additions and 0 deletions
+5
View File
@@ -296,6 +296,7 @@ get_device_extensions(const struct anv_physical_device *device,
.KHR_shader_integer_dot_product = true,
.KHR_shader_non_semantic_info = true,
.KHR_shader_subgroup_extended_types = true,
.KHR_shader_subgroup_rotate = true,
.KHR_shader_subgroup_uniform_control_flow = true,
.KHR_shader_terminate_invocation = true,
.KHR_spirv_1_4 = true,
@@ -871,6 +872,10 @@ get_features(const struct anv_physical_device *pdevice,
/* VK_KHR_cooperative_matrix */
.cooperativeMatrix = anv_has_cooperative_matrix(pdevice),
/* VK_KHR_shader_subgroup_rotate */
.shaderSubgroupRotate = true,
.shaderSubgroupRotateClustered = true,
};
/* The new DOOM and Wolfenstein games require depthBounds without
+1
View File
@@ -197,6 +197,7 @@ anv_shader_stage_to_nir(struct anv_device *device,
.subgroup_ballot = true,
.subgroup_dispatch = true,
.subgroup_quad = true,
.subgroup_rotate = true,
.subgroup_uniform_control_flow = true,
.subgroup_shuffle = true,
.subgroup_vote = true,