[Mesa-dev] [PATCH 44/45] anv: Enable SPV_KHR_16bit_storage on gen 8+
Alejandro PiƱeiro
apinheiro at igalia.com
Thu Jul 13 14:35:48 UTC 2017
From: Eduardo Lima Mitev <elima 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 5494a6e..71d4af5 100644
--- a/src/intel/vulkan/anv_pipeline.c
+++ b/src/intel/vulkan/anv_pipeline.c
@@ -129,6 +129,7 @@ anv_shader_compile_to_nir(struct anv_pipeline *pipeline,
.draw_parameters = true,
.image_write_without_format = true,
.multiview = true,
+ .storage_16bit = device->instance->physicalDevice.info.gen >= 8,
};
nir_function *entry_point =
--
2.9.3
More information about the mesa-dev
mailing list