mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-09 02:28:10 +02:00
nir/lower_shader_calls: update metadata before validation
Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Cc: mesa-stable
Reviewed-by: Konstantin Seurer <konstantin.seurer@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19820>
(cherry picked from commit 96d84e2a77)
This commit is contained in:
parent
094dffac9c
commit
1f39b0c57c
2 changed files with 3 additions and 3 deletions
|
|
@ -769,7 +769,7 @@
|
|||
"description": "nir/lower_shader_calls: update metadata before validation",
|
||||
"nominated": true,
|
||||
"nomination_type": 0,
|
||||
"resolution": 0,
|
||||
"resolution": 1,
|
||||
"main_sha": null,
|
||||
"because_sha": null
|
||||
},
|
||||
|
|
|
|||
|
|
@ -1085,11 +1085,11 @@ lower_resume(nir_shader *shader, int call_idx)
|
|||
|
||||
ralloc_free(mem_ctx);
|
||||
|
||||
nir_metadata_preserve(impl, nir_metadata_none);
|
||||
|
||||
nir_validate_shader(shader, "after flatten_resume_if_ladder in "
|
||||
"brw_nir_lower_shader_calls");
|
||||
|
||||
nir_metadata_preserve(impl, nir_metadata_none);
|
||||
|
||||
return resume_instr;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue