vulkan: enable VK_KHR_shader_expect_assume

This implementation ignores the hints.

Acked-by: Caio Oliveira <caio.oliveira@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/27265>
This commit is contained in:
Daniel Schürmann
2024-01-25 10:54:01 +01:00
committed by Marge Bot
parent 5df7be8017
commit 26c8f13ff5
13 changed files with 42 additions and 0 deletions
+2
View File
@@ -128,6 +128,7 @@ dzn_physical_device_get_extensions(struct dzn_physical_device *pdev)
.KHR_sampler_mirror_clamp_to_edge = true,
.KHR_separate_depth_stencil_layouts = true,
.KHR_shader_draw_parameters = true,
.KHR_shader_expect_assume = true,
.KHR_shader_float16_int8 = pdev->options4.Native16BitShaderOpsSupported,
.KHR_shader_float_controls = true,
.KHR_shader_integer_dot_product = true,
@@ -778,6 +779,7 @@ dzn_physical_device_get_features(const struct dzn_physical_device *pdev,
.dynamicRendering = true,
.shaderIntegerDotProduct = true,
.maintenance4 = false,
.shaderExpectAssume = true,
.vertexAttributeInstanceRateDivisor = true,
.vertexAttributeInstanceRateZeroDivisor = true,