tu: Enable VK_KHR_shader_subgroup_uniform_control_flow

Signed-off-by: Valentine Burley <valentine.burley@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/29277>
This commit is contained in:
Valentine Burley
2024-03-08 08:45:24 +00:00
committed by Marge Bot
parent d43a271175
commit 52cf610975
3 changed files with 8 additions and 1 deletions

View File

@@ -541,7 +541,7 @@ Khronos extensions that are not part of any Vulkan version:
VK_KHR_shader_float_controls2 DONE (anv, tu)
VK_KHR_shader_maximal_reconvergence DONE (anv, lvp, nvk, radv)
VK_KHR_shader_subgroup_rotate DONE (anv, nvk, radv)
VK_KHR_shader_subgroup_uniform_control_flow DONE (anv, hasvk, nvk, radv)
VK_KHR_shader_subgroup_uniform_control_flow DONE (anv, hasvk, nvk, radv, tu)
VK_KHR_shader_quad_control DONE (anv, radv)
VK_KHR_shared_presentable_image not started
VK_KHR_surface DONE (anv, dzn, hasvk, lvp, nvk, panvk, pvr, radv, tu, v3dv, vn)

View File

@@ -87,3 +87,6 @@ spec@nv_copy_image@nv_copy_image.*
shaders@point-vertex-id.*
# uses stipple:
spec@!opengl 1.0@gl-1.0-no-op-paths
# Some reconvergence tests are very slow:
(gmem-|stale-regs-)?dEQP-VK.reconvergence.(sub|work)group_uniform_control_flow_(ballot|elect).compute.nesting4.(0.40|7.10)

View File

@@ -207,6 +207,7 @@ get_device_extensions(const struct tu_physical_device *device,
.KHR_shader_integer_dot_product = true,
.KHR_shader_non_semantic_info = true,
.KHR_shader_subgroup_extended_types = true,
.KHR_shader_subgroup_uniform_control_flow = true,
.KHR_shader_terminate_invocation = true,
.KHR_spirv_1_4 = true,
.KHR_storage_buffer_storage_class = true,
@@ -482,6 +483,9 @@ tu_get_features(struct tu_physical_device *pdevice,
/* VK_KHR_shader_float_controls2 */
features->shaderFloatControls2 = true;
/* VK_KHR_shader_subgroup_uniform_control_flow */
features->shaderSubgroupUniformControlFlow = true;
/* VK_KHR_vertex_attribute_divisor */
features->vertexAttributeInstanceRateDivisor = true;
features->vertexAttributeInstanceRateZeroDivisor = true;