nvk: Do not preserve metadata after lower_load_global_constant_offset_instr

The pass inserts control flow.

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26366>
This commit is contained in:
Konstantin Seurer
2023-11-25 19:07:39 +01:00
committed by Marge Bot
parent 99fdd98b3f
commit 4ac8d16006
+1 -2
View File
@@ -378,8 +378,7 @@ nvk_lower_nir(struct nvk_device *dev, nir_shader *nir,
NIR_PASS(_, nir, nir_lower_explicit_io, nir_var_mem_ubo,
nvk_buffer_addr_format(rs->uniform_buffers));
NIR_PASS(_, nir, nir_shader_intrinsics_pass,
lower_load_global_constant_offset_instr,
nir_metadata_block_index | nir_metadata_dominance, NULL);
lower_load_global_constant_offset_instr, nir_metadata_none, NULL);
if (!nir->info.shared_memory_explicit_layout) {
NIR_PASS(_, nir, nir_lower_vars_to_explicit_types,