Skip to content
Snippets Groups Projects
Commit 4fddef33 authored by Marcin Ślusarz's avatar Marcin Ślusarz Committed by Marge Bot
Browse files

intel/compiler: invalidate all metadata in brw_nir_lower_intersection_shader


New "if" blocks were inserted.

Fixes: 303378e1 ("intel/rt: Add lowering for combined intersection/any-hit shaders")
Reviewed-by: default avatarLionel Landwerlin <lionel.g.landwerlin@intel.com>
Reviewed-by: default avatarJason Ekstrand <jason.ekstrand@collabora.com>
Part-of: <mesa/mesa!15924>
parent 5bd3ba5b
No related branches found
No related tags found
No related merge requests found
......@@ -246,6 +246,7 @@ brw_nir_lower_intersection_shader(nir_shader *intersection,
}
}
}
nir_metadata_preserve(impl, nir_metadata_none);
/* We did some inlining; have to re-index SSA defs */
nir_index_ssa_defs(impl);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment