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:
committed by
Marge Bot
parent
79b7ed61a8
commit
4c83a96f16
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user