[Mesa-dev] [PATCH v3 43/44] anv: enable support for SPV_KHR_shader_float_controls capabilities

Samuel Iglesias Gonsálvez siglesias at igalia.com
Wed Feb 6 10:45:12 UTC 2019


Signed-off-by: Samuel Iglesias Gonsálvez <siglesias at igalia.com>
---
 src/intel/vulkan/anv_pipeline.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/intel/vulkan/anv_pipeline.c b/src/intel/vulkan/anv_pipeline.c
index adc8bb4ddf5..1ee0e4d3e4e 100644
--- a/src/intel/vulkan/anv_pipeline.c
+++ b/src/intel/vulkan/anv_pipeline.c
@@ -148,6 +148,7 @@ anv_shader_compile_to_nir(struct anv_device *device,
          .min_lod = true,
          .multiview = true,
          .post_depth_coverage = pdevice->info.gen >= 9,
+         .shader_float_controls = pdevice->info.gen >= 8,
          .shader_viewport_index_layer = true,
          .stencil_export = pdevice->info.gen >= 9,
          .storage_8bit = pdevice->info.gen >= 8,
-- 
2.19.1



More information about the mesa-dev mailing list