summaryrefslogtreecommitdiffstats
path: root/src/intel/vulkan/anv_pipeline.c
diff options
context:
space:
mode:
authorCaio Marcelo de Oliveira Filho <[email protected]>2018-04-26 12:11:20 -0700
committerKenneth Graunke <[email protected]>2018-04-26 15:32:05 -0700
commitc9bdc7f7e21af06021223d5363577b2ae3fe300e (patch)
tree5577e3ac2bdf93b52c44ac0139ea370d9609ecc2 /src/intel/vulkan/anv_pipeline.c
parent3db93f9128e5329f6658c9018cf23eb31807c24c (diff)
anv: enable VK_EXT_shader_viewport_index_layer
Reviewed-by: Iago Toral Quiroga <[email protected]> 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 e64602d2844..56bea7bf0df 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,
+ .shader_viewport_index_layer = true,
.subgroup_arithmetic = true,
.subgroup_basic = true,
.subgroup_ballot = true,