Skip to content
Snippets Groups Projects
Commit abc89d4f authored by Marcin Ślusarz's avatar Marcin Ślusarz Committed by Dylan Baker
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>
(cherry picked from commit 4fddef33)
parent d2a21641
No related branches found
No related tags found
No related merge requests found
......@@ -1012,7 +1012,7 @@
"description": "intel/compiler: invalidate all metadata in brw_nir_lower_intersection_shader",
"nominated": true,
"nomination_type": 1,
"resolution": 0,
"resolution": 1,
"because_sha": "303378e1dd4119e04e0f6cb623766115a00c2eea"
},
{
......
......@@ -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