diff --git a/src/intel/vulkan/anv_device.c b/src/intel/vulkan/anv_device.c index 142ca21cf44..0c035d55b0a 100644 --- a/src/intel/vulkan/anv_device.c +++ b/src/intel/vulkan/anv_device.c @@ -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 diff --git a/src/intel/vulkan/anv_pipeline.c b/src/intel/vulkan/anv_pipeline.c index df8786f2562..2ad87c5b6d7 100644 --- a/src/intel/vulkan/anv_pipeline.c +++ b/src/intel/vulkan/anv_pipeline.c @@ -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,