[Mesa-dev] [PATCH v3 42/43] anv: Enable SPV_KHR_16bit_storage on gen 8+

Jose Maria Casanova Crespo jmcasanova at igalia.com
Thu Oct 12 18:38:31 UTC 2017


From: Eduardo Lima Mitev <elima at igalia.com>

v2: minor changes after rebase against recent master (Alejandro)
---
 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 b35bad1050..82ed4ecc1d 100644
--- a/src/intel/vulkan/anv_pipeline.c
+++ b/src/intel/vulkan/anv_pipeline.c
@@ -130,6 +130,7 @@ anv_shader_compile_to_nir(struct anv_pipeline *pipeline,
       .image_write_without_format = true,
       .multiview = true,
       .variable_pointers = true,
+      .storage_16bit = device->instance->physicalDevice.info.gen >= 8,
    };
 
    nir_function *entry_point =
-- 
2.13.6



More information about the mesa-dev mailing list