Mesa (master): anv/pipeline: support SpvCapabilityInt16 in gen8+

Iago Toral Quiroga itoral at kemper.freedesktop.org
Thu May 3 09:57:24 UTC 2018


Module: Mesa
Branch: master
Commit: 002cb6f2b330434763b0fd8a51ac2f0eb8f5d65f
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=002cb6f2b330434763b0fd8a51ac2f0eb8f5d65f

Author: Iago Toral Quiroga <itoral at igalia.com>
Date:   Fri Mar  2 11:12:38 2018 +0100

anv/pipeline: support SpvCapabilityInt16 in gen8+

Reviewed-by: Jason Ekstrand <jason at jlekstrand.net>

---

 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 56bea7bf0d..87788de10a 100644
--- a/src/intel/vulkan/anv_pipeline.c
+++ b/src/intel/vulkan/anv_pipeline.c
@@ -144,6 +144,7 @@ anv_shader_compile_to_nir(struct anv_pipeline *pipeline,
          .multiview = true,
          .variable_pointers = true,
          .storage_16bit = device->instance->physicalDevice.info.gen >= 8,
+         .int16 = device->instance->physicalDevice.info.gen >= 8,
          .shader_viewport_index_layer = true,
          .subgroup_arithmetic = true,
          .subgroup_basic = true,




More information about the mesa-commit mailing list