radv,aco: use deref_buffer_array_length

Signed-off-by: Rhys Perry <pendingchaos02@gmail.com>
Reviewed-by: Daniel Schürmann <daniel@schuermann.dev>
Gitlab: https://gitlab.freedesktop.org/mesa/mesa/-/issues/3993
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8163>
This commit is contained in:
Rhys Perry
2020-12-18 13:19:50 +00:00
committed by Marge Bot
parent e200ce0996
commit dc19fe0e9f
2 changed files with 1 additions and 1 deletions

View File

@@ -500,6 +500,7 @@ radv_shader_compile_to_nir(struct radv_device *device,
.push_const_addr_format = nir_address_format_logical,
.shared_addr_format = nir_address_format_32bit_offset,
.frag_coord_is_sysval = true,
.use_deref_buffer_array_length = true,
.debug = {
.func = radv_spirv_nir_debug,
.private_data = &spirv_debug_data,