anv: Enable VK_KHR_shader_maximal_reconvergence
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/27278>
This commit is contained in:
@@ -680,8 +680,10 @@ struct vtn_builder {
|
||||
/* True if we need to ignore OpReturn after OpEmitMeshTasksEXT. */
|
||||
bool wa_ignore_return_after_emit_mesh_tasks;
|
||||
|
||||
/* Workaround discard bugs in HLSL -> SPIR-V compilers */
|
||||
/* True if DemoteToHelperInvocation capability is used by the shader. */
|
||||
bool uses_demote_to_helper_invocation;
|
||||
|
||||
/* Workaround discard bugs in HLSL -> SPIR-V compilers */
|
||||
bool convert_discard_to_demote;
|
||||
|
||||
gl_shader_stage entry_point_stage;
|
||||
|
||||
@@ -302,6 +302,7 @@ get_device_extensions(const struct anv_physical_device *device,
|
||||
.KHR_shader_float16_int8 = !device->instance->no_16bit,
|
||||
.KHR_shader_float_controls = true,
|
||||
.KHR_shader_integer_dot_product = true,
|
||||
.KHR_shader_maximal_reconvergence = true,
|
||||
.KHR_shader_non_semantic_info = true,
|
||||
.KHR_shader_subgroup_extended_types = true,
|
||||
.KHR_shader_subgroup_rotate = true,
|
||||
@@ -882,6 +883,8 @@ get_features(const struct anv_physical_device *pdevice,
|
||||
/* VK_KHR_cooperative_matrix */
|
||||
.cooperativeMatrix = anv_has_cooperative_matrix(pdevice),
|
||||
|
||||
/* VK_KHR_shader_maximal_reconvergence */
|
||||
.shaderMaximalReconvergence = true,
|
||||
|
||||
/* VK_KHR_shader_subgroup_rotate */
|
||||
.shaderSubgroupRotate = true,
|
||||
|
||||
Reference in New Issue
Block a user