nir/lower_robust_access: do not preserve control flow
we insert if's, which dirties control flow metadata. caught by the new metadata validation blowing up. Cc: mesa-stable Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io> Reviewed-by: Georg Lehmann <dadschoorse@gmail.com> Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/33216>
This commit is contained in:
@@ -221,5 +221,5 @@ nir_lower_robust_access(nir_shader *s, nir_intrin_filter_cb filter,
|
||||
const void *data)
|
||||
{
|
||||
struct pass_opts opt = { .filter = filter, .data = data };
|
||||
return nir_shader_intrinsics_pass(s, lower, nir_metadata_control_flow, &opt);
|
||||
return nir_shader_intrinsics_pass(s, lower, nir_metadata_none, &opt);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user