mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 11:18:08 +02:00
radv/rt: Discard metadata after lowering intersection shaders
We inserted some enstructions and control flow. Therefore, metadata is not valid anymore. Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19866>
This commit is contained in:
parent
79b7ed61a8
commit
4c83a96f16
1 changed files with 2 additions and 0 deletions
|
|
@ -998,6 +998,8 @@ nir_lower_intersection_shader(nir_shader *intersection, nir_shader *any_hit)
|
|||
}
|
||||
}
|
||||
|
||||
nir_metadata_preserve(impl, nir_metadata_none);
|
||||
|
||||
/* We did some inlining; have to re-index SSA defs */
|
||||
nir_index_ssa_defs(impl);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue