aboutsummaryrefslogtreecommitdiffstats
path: root/src/intel/vulkan/anv_pipeline.c
diff options
context:
space:
mode:
authorIago Toral Quiroga <[email protected]>2018-03-02 11:12:38 +0100
committerIago Toral Quiroga <[email protected]>2018-05-03 11:40:26 +0200
commit002cb6f2b330434763b0fd8a51ac2f0eb8f5d65f (patch)
treea07d972d1d016d26682d1ab931f2369b2b90f24b /src/intel/vulkan/anv_pipeline.c
parentf07c05576f3e4cba77d299d8a0f2946a0ab9f0b9 (diff)
anv/pipeline: support SpvCapabilityInt16 in gen8+
Reviewed-by: Jason Ekstrand <[email protected]>
Diffstat (limited to 'src/intel/vulkan/anv_pipeline.c')
-rw-r--r--src/intel/vulkan/anv_pipeline.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/intel/vulkan/anv_pipeline.c b/src/intel/vulkan/anv_pipeline.c
index 56bea7bf0df..87788de10a5 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,