anv: enable VK_KHR_shader_float_controls2

Reviewed-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/27281>
This commit is contained in:
Iván Briano
2023-11-13 15:22:18 -08:00
committed by Marge Bot
parent 22fa29ac2f
commit 0fbaf8703a
2 changed files with 5 additions and 0 deletions
+4
View File
@@ -303,6 +303,7 @@ get_device_extensions(const struct anv_physical_device *device,
.KHR_shader_expect_assume = true,
.KHR_shader_float16_int8 = !device->instance->no_16bit,
.KHR_shader_float_controls = true,
.KHR_shader_float_controls2 = true,
.KHR_shader_integer_dot_product = true,
.KHR_shader_maximal_reconvergence = true,
.KHR_shader_non_semantic_info = true,
@@ -928,6 +929,9 @@ get_features(const struct anv_physical_device *pdevice,
/* VK_EXT_image_compression_control */
.imageCompressionControl = true,
/* VK_KHR_shader_float_controls2 */
.shaderFloatControls2 = true,
};
/* The new DOOM and Wolfenstein games require depthBounds without
+1
View File
@@ -177,6 +177,7 @@ anv_shader_stage_to_nir(struct anv_device *device,
.quad_control = true,
.runtime_descriptor_array = true,
.float_controls = true,
.float_controls2 = true,
.ray_cull_mask = rt_enabled,
.ray_query = rt_enabled,
.ray_tracing = rt_enabled,