mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-06 05:08:08 +02:00
nir: Fix metadata in nir_lower_is_helper_invocation
It does not preserve everything. It adds and removes instructions and even adds a variable. Fixes:f17b41ab4f("nir: add lowering pass for helperInvocationEXT()") Reviewed-by: Alyssa Rosenzweig <alyssa@rosenzweig.io> Acked-by: Mike Blumenkrantz <michael.blumenkrantz@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24760> (cherry picked from commit831085afa3)
This commit is contained in:
parent
51d0d942a0
commit
87aa5bdf9b
2 changed files with 3 additions and 2 deletions
|
|
@ -5824,7 +5824,7 @@
|
|||
"description": "nir: Fix metadata in nir_lower_is_helper_invocation",
|
||||
"nominated": true,
|
||||
"nomination_type": 1,
|
||||
"resolution": 0,
|
||||
"resolution": 1,
|
||||
"main_sha": null,
|
||||
"because_sha": "f17b41ab4f017b562fdf7c388200e68c22105331",
|
||||
"notes": null
|
||||
|
|
|
|||
|
|
@ -118,6 +118,7 @@ nir_lower_is_helper_invocation(nir_shader *shader)
|
|||
|
||||
return nir_shader_instructions_pass(shader,
|
||||
nir_lower_load_and_store_is_helper,
|
||||
nir_metadata_all,
|
||||
nir_metadata_block_index |
|
||||
nir_metadata_dominance,
|
||||
is_helper_deref);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue