anv: Enable SPV_INTEL_shader_integer_functions2 and VK_INTEL_shader_integer_functions2
Currently only implemented in the scalar backend, so only enable for Gen8+. If support for the other opcodes is added to the vec4 backend, Gen7 could be supported. Reviewed-by: Caio Marcelo de Oliveira Filho <caio.oliveira@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/767>
This commit is contained in:
@@ -172,6 +172,7 @@ EXTENSIONS = [
|
||||
Extension('VK_GOOGLE_decorate_string', 1, True),
|
||||
Extension('VK_GOOGLE_hlsl_functionality1', 1, True),
|
||||
Extension('VK_INTEL_performance_query', 1, 'device->perf'),
|
||||
Extension('VK_INTEL_shader_integer_functions2', 1, 'device->info.gen >= 8'),
|
||||
Extension('VK_NV_compute_shader_derivatives', 1, True),
|
||||
]
|
||||
|
||||
|
@@ -188,6 +188,7 @@ anv_shader_compile_to_nir(struct anv_device *device,
|
||||
.int16 = pdevice->info.gen >= 8,
|
||||
.int64 = pdevice->info.gen >= 8,
|
||||
.int64_atomics = pdevice->info.gen >= 9 && pdevice->use_softpin,
|
||||
.integer_functions2 = pdevice->info.gen >= 8,
|
||||
.min_lod = true,
|
||||
.multiview = true,
|
||||
.physical_storage_buffer_address = pdevice->has_a64_buffer_access,
|
||||
|
Reference in New Issue
Block a user