mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-09 06:48:06 +02:00
v3dv: Set spirv_options::use_deref_buffer_array_length
It'll get lowered to get_ssbo_size by nir_lower_explicit_io() so the driver should never notice this change. Acked-by: Caio Oliveira <caio.oliveira@intel.com> Reviewed-by: Alejandro Piñeiro <apinheiro@igalia.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21446>
This commit is contained in:
parent
1386e1476a
commit
fbeb81d812
1 changed files with 1 additions and 0 deletions
|
|
@ -176,6 +176,7 @@ 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,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue