mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-03 16:28:08 +02:00
nak: Disable lower_image_size_to_txs for NAK
We don't need it for NAK and it actually screws up cubes. Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24998>
This commit is contained in:
parent
86c7bcc9e3
commit
ab7a4b531d
1 changed files with 4 additions and 2 deletions
|
|
@ -580,8 +580,10 @@ nvk_lower_nir(struct nvk_device *dev, nir_shader *nir,
|
|||
NIR_PASS(_, nir, nir_lower_explicit_io, nir_var_mem_push_const,
|
||||
nir_address_format_32bit_offset);
|
||||
|
||||
NIR_PASS(_, nir, nir_shader_intrinsics_pass, lower_image_size_to_txs,
|
||||
nir_metadata_block_index | nir_metadata_dominance, NULL);
|
||||
if (!use_nak(nir->info.stage)) {
|
||||
NIR_PASS(_, nir, nir_shader_intrinsics_pass, lower_image_size_to_txs,
|
||||
nir_metadata_block_index | nir_metadata_dominance, NULL);
|
||||
}
|
||||
|
||||
/* Lower non-uniform access before lower_descriptors */
|
||||
enum nir_lower_non_uniform_access_type lower_non_uniform_access_types =
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue