anv: invalidate all metadata in anv_nir_lower_ubo_loads

lower_ubo_load_instr may insert "if" blocks.

Fixes: 61749b5a15 ("anv: Add a pass for lowering A64 UBO access")
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Reviewed-by: Jason Ekstrand <jason.ekstrand@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/15924>
This commit is contained in:
Marcin Ślusarz 2022-04-13 13:09:23 +02:00 committed by Marge Bot
parent 184084e21c
commit 5bd3ba5b67
1 changed files with 1 additions and 2 deletions

View File

@ -119,7 +119,6 @@ bool
anv_nir_lower_ubo_loads(nir_shader *shader)
{
return nir_shader_instructions_pass(shader, lower_ubo_load_instr,
nir_metadata_block_index |
nir_metadata_dominance,
nir_metadata_none,
NULL);
}