anv: enable VK_EXT_shader_viewport_index_layer

Reviewed-by: Iago Toral Quiroga <itoral@igalia.com>
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
This commit is contained in:
Caio Marcelo de Oliveira Filho 2018-04-26 12:11:20 -07:00 committed by Kenneth Graunke
parent 3db93f9128
commit c9bdc7f7e2
2 changed files with 2 additions and 0 deletions

View File

@ -111,6 +111,7 @@ EXTENSIONS = [
Extension('VK_EXT_external_memory_dma_buf', 1, True),
Extension('VK_EXT_global_priority', 1,
'device->has_context_priority'),
Extension('VK_EXT_shader_viewport_index_layer', 1, True),
]
class VkVersion:

View File

@ -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,