[Mesa-dev] [PATCH 27/28] anv: enable support for SPV_KHR_shader_float_controls capabilities

Samuel Iglesias Gonsálvez siglesias at igalia.com
Wed Dec 5 15:55:42 UTC 2018


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 d55e51adcbb..cadf9288ad9 100644
--- a/src/intel/vulkan/anv_pipeline.c
+++ b/src/intel/vulkan/anv_pipeline.c
@@ -144,6 +144,7 @@ anv_shader_compile_to_nir(struct anv_pipeline *pipeline,
          .image_write_without_format = true,
          .multiview = true,
          .variable_pointers = true,
+         .shader_float_controls = device->instance->physicalDevice.info.gen >= 8,
          .storage_16bit = device->instance->physicalDevice.info.gen >= 8,
          .int16 = device->instance->physicalDevice.info.gen >= 8,
          .float16 = device->instance->physicalDevice.info.gen >= 8,
-- 
2.19.1



More information about the mesa-dev mailing list