[Mesa-dev] [PATCH v2 45/53] anv/pipeline: support Float16 and Int8 capabilities in gen8+

Iago Toral Quiroga itoral at igalia.com
Wed Dec 19 11:51:13 UTC 2018


v2:
 - Merge Float16 and Int8 in a single patch

Reviewed-by: Jason Ekstrand <jason at jlekstrand.net> (v1)
---
 src/intel/vulkan/anv_pipeline.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/intel/vulkan/anv_pipeline.c b/src/intel/vulkan/anv_pipeline.c
index 6db9945e0d4..c303ba321c3 100644
--- a/src/intel/vulkan/anv_pipeline.c
+++ b/src/intel/vulkan/anv_pipeline.c
@@ -147,6 +147,8 @@ 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,
+         .int8 = 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