Mesa (main): intel/compiler: invalidate all metadata in brw_nir_lower_intersection_shader
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Tue Apr 19 12:06:27 UTC 2022
Module: Mesa
Branch: main
Commit: 4fddef33d5912c09677d92085911dadd60720072
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=4fddef33d5912c09677d92085911dadd60720072
Author: Marcin Ślusarz <marcin.slusarz at intel.com>
Date: Wed Apr 13 13:15:28 2022 +0200
intel/compiler: invalidate all metadata in brw_nir_lower_intersection_shader
New "if" blocks were inserted.
Fixes: 303378e1dd4 ("intel/rt: Add lowering for combined intersection/any-hit shaders")
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
Reviewed-by: Jason Ekstrand <jason.ekstrand at collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/15924>
---
src/intel/compiler/brw_nir_lower_intersection_shader.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/intel/compiler/brw_nir_lower_intersection_shader.c b/src/intel/compiler/brw_nir_lower_intersection_shader.c
index 55414f66e53..5a803cac5d0 100644
--- a/src/intel/compiler/brw_nir_lower_intersection_shader.c
+++ b/src/intel/compiler/brw_nir_lower_intersection_shader.c
@@ -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);
More information about the mesa-commit
mailing list