mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-27 19:10:14 +01:00
hasvk: 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: Caio Oliveira <caio.oliveira@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/31098>
This commit is contained in:
parent
5f3339e44a
commit
7f65035078
1 changed files with 4 additions and 0 deletions
|
|
@ -260,6 +260,7 @@ get_device_extensions(const struct anv_physical_device *device,
|
|||
.KHR_shader_float_controls = true,
|
||||
.KHR_shader_integer_dot_product = true,
|
||||
.KHR_shader_non_semantic_info = true,
|
||||
.KHR_shader_relaxed_extended_instruction = true,
|
||||
.KHR_shader_subgroup_extended_types = device->info.ver >= 8,
|
||||
.KHR_shader_subgroup_uniform_control_flow = true,
|
||||
.KHR_shader_terminate_invocation = true,
|
||||
|
|
@ -659,6 +660,9 @@ get_features(const struct anv_physical_device *pdevice,
|
|||
|
||||
/* VK_KHR_shader_expect_assume */
|
||||
.shaderExpectAssume = true,
|
||||
|
||||
/* VK_KHR_shader_relaxed_extended_instruction */
|
||||
.shaderRelaxedExtendedInstruction = true,
|
||||
};
|
||||
|
||||
/* We can't do image stores in vec4 shaders */
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue