[Mesa-dev] [PATCH 37/59] anv/pipeline: support SpvCapabilityFloat16 in gen8+

Iago Toral Quiroga itoral at igalia.com
Tue Dec 4 07:17:01 UTC 2018


---
 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 ee37685fccf..5b583c28582 100644
--- a/src/intel/vulkan/anv_pipeline.c
+++ b/src/intel/vulkan/anv_pipeline.c
@@ -146,6 +146,7 @@ anv_shader_compile_to_nir(struct anv_pipeline *pipeline,
          .variable_pointers = true,
          .storage_16bit = device->instance->physicalDevice.info.gen >= 8,
          .int16 = device->instance->physicalDevice.info.gen >= 8,
+         .float16 = device->instance->physicalDevice.info.gen >= 8,
          .shader_viewport_index_layer = true,
          .subgroup_arithmetic = true,
          .subgroup_basic = true,
-- 
2.17.1



More information about the mesa-dev mailing list