anv: Enable VK_KHR_shader_quad_control

Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/27279>
This commit is contained in:
Caio Oliveira
2023-11-21 12:10:26 -08:00
committed by Marge Bot
parent b22879e753
commit b58b6d2d32
2 changed files with 5 additions and 0 deletions
+4
View File
@@ -304,6 +304,7 @@ get_device_extensions(const struct anv_physical_device *device,
.KHR_shader_integer_dot_product = true,
.KHR_shader_maximal_reconvergence = true,
.KHR_shader_non_semantic_info = true,
.KHR_shader_quad_control = true,
.KHR_shader_subgroup_extended_types = true,
.KHR_shader_subgroup_rotate = true,
.KHR_shader_subgroup_uniform_control_flow = true,
@@ -909,6 +910,9 @@ get_features(const struct anv_physical_device *pdevice,
.memoryMapPlaced = true,
.memoryMapRangePlaced = false,
.memoryUnmapReserve = true,
/* VK_KHR_shader_quad_control */
.shaderQuadControl = true,
};
/* The new DOOM and Wolfenstein games require depthBounds without
+1
View File
@@ -174,6 +174,7 @@ anv_shader_stage_to_nir(struct anv_device *device,
.multiview = true,
.physical_storage_buffer_address = true,
.post_depth_coverage = true,
.quad_control = true,
.runtime_descriptor_array = true,
.float_controls = true,
.ray_cull_mask = rt_enabled,