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:
parent
3db93f9128
commit
c9bdc7f7e2
|
@ -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:
|
||||
|
|
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue