spirv: Always emit deref_buffer_array_length intrinsics

All the drivers have been converted to setting this option now except
imagination and they don't support SSBOs yet.

Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/3993
Reviewed-by: Caio Oliveira <caio.oliveira@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21446>
This commit is contained in:
Faith Ekstrand
2023-02-21 08:39:30 -06:00
committed by Marge Bot
parent fbeb81d812
commit 96c832c47e
12 changed files with 11 additions and 58 deletions
-1
View File
@@ -176,7 +176,6 @@ static const struct spirv_to_nir_options default_spirv_options = {
.workgroup_memory_explicit_layout = true,
.image_read_without_format = true,
},
.use_deref_buffer_array_length = true,
.ubo_addr_format = nir_address_format_32bit_index_offset,
.ssbo_addr_format = nir_address_format_32bit_index_offset,
.phys_ssbo_addr_format = nir_address_format_2x32bit_global,