mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-04 20:38:06 +02:00
intel/compiler: invalidate all metadata in brw_nir_lower_intersection_shader
New "if" blocks were inserted. Fixes:303378e1dd("intel/rt: Add lowering for combined intersection/any-hit shaders") Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com> Reviewed-by: Jason Ekstrand <jason.ekstrand@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/15924> (cherry picked from commit4fddef33d5)
This commit is contained in:
parent
4f031f35fe
commit
30a980fb94
2 changed files with 2 additions and 1 deletions
|
|
@ -751,7 +751,7 @@
|
|||
"description": "intel/compiler: invalidate all metadata in brw_nir_lower_intersection_shader",
|
||||
"nominated": true,
|
||||
"nomination_type": 1,
|
||||
"resolution": 0,
|
||||
"resolution": 1,
|
||||
"main_sha": null,
|
||||
"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);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue