Extension('VK_EXT_external_memory_host', 1, 'device->rad_info.has_userptr'),
Extension('VK_EXT_global_priority', 1, 'device->rad_info.has_ctx_priority'),
Extension('VK_EXT_sampler_filter_minmax', 1, 'device->rad_info.chip_class >= CIK'),
+ Extension('VK_EXT_shader_viewport_index_layer', 1, True),
Extension('VK_AMD_draw_indirect_count', 1, True),
Extension('VK_AMD_gcn_shader', 1, True),
Extension('VK_AMD_rasterization_order', 1, 'device->rad_info.chip_class >= VI && device->rad_info.max_se >= 2'),
.variable_pointers = true,
.gcn_shader = true,
.trinary_minmax = true,
+ .shader_viewport_index_layer = true,
},
};
entry_point = spirv_to_nir(spirv, module->size / 4,