From 13f68bcce14b2f7c91611da5922fd67a111190af Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=A4in=C3=B6=20M=C3=A4kel=C3=A4?= Date: Thu, 8 Dec 2022 17:59:05 +0200 Subject: [PATCH] hasvk: Tell spirv_to_nir float controls are always supported This gets rid of the "Unsupported SPIR-V capability" warnings when compiling shaders using float controls on gfx7. Reviewed-by: Emma Anholt Part-of: --- src/intel/vulkan_hasvk/anv_pipeline.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/intel/vulkan_hasvk/anv_pipeline.c b/src/intel/vulkan_hasvk/anv_pipeline.c index 03fda25acfc..c49b3f803aa 100644 --- a/src/intel/vulkan_hasvk/anv_pipeline.c +++ b/src/intel/vulkan_hasvk/anv_pipeline.c @@ -93,7 +93,7 @@ anv_shader_stage_to_nir(struct anv_device *device, .physical_storage_buffer_address = pdevice->has_a64_buffer_access, .post_depth_coverage = pdevice->info.ver >= 9, .runtime_descriptor_array = true, - .float_controls = pdevice->info.ver >= 8, + .float_controls = true, .shader_clock = true, .shader_viewport_index_layer = true, .stencil_export = pdevice->info.ver >= 9,