[Mesa-dev] [PATCH 46/47] anv: Enable SPV_KHR_16bit_storage on gen 8+

Alejandro PiƱeiro apinheiro at igalia.com
Thu Aug 24 13:55:01 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 6ae682fd8d0..1af763e9915 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.11.0



More information about the mesa-dev mailing list