mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-03 02:50:16 +01:00
tu: enable VK_KHR_shader_relaxed_extended_instruction
The extension only affects non semantic instructions that need no handling in the backend compiler. Signed-off-by: Rohan Garg <rohan.garg@intel.com> Acked-by: Connor Abbott <cwabbott0@gmail.com> Acked-by: Faith Ekstrand <faith.ekstrand@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/30791>
This commit is contained in:
parent
85b8579bf6
commit
a03b307eea
1 changed files with 4 additions and 0 deletions
|
|
@ -207,6 +207,7 @@ get_device_extensions(const struct tu_physical_device *device,
|
|||
.KHR_shader_float_controls2 = true,
|
||||
.KHR_shader_integer_dot_product = true,
|
||||
.KHR_shader_non_semantic_info = true,
|
||||
.KHR_shader_relaxed_extended_instruction = true,
|
||||
.KHR_shader_subgroup_extended_types = true,
|
||||
.KHR_shader_subgroup_uniform_control_flow = true,
|
||||
.KHR_shader_terminate_invocation = true,
|
||||
|
|
@ -670,6 +671,9 @@ tu_get_features(struct tu_physical_device *pdevice,
|
|||
|
||||
/* VK_EXT_vertex_input_dynamic_state */
|
||||
features->vertexInputDynamicState = true;
|
||||
|
||||
/* VK_KHR_shader_relaxed_extended_instruction */
|
||||
features->shaderRelaxedExtendedInstruction = true;
|
||||
}
|
||||
|
||||
static void
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue