v3dv: use NIR_PASS with v3d_nir_lower_robust_image_access

Reviewed-by: Eric Engestrom <eric@igalia.com>
Reviewed-by: Alejandro Piñeiro <apinheiro@igalia.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18883>
This commit is contained in:
Iago Toral Quiroga 2022-09-28 13:00:49 +02:00 committed by Marge Bot
parent bfb6a5fef1
commit 1a2ca58aed

View file

@ -1607,7 +1607,7 @@ v3d_attempt_compile(struct v3d_compile *c)
}
if (c->key->robust_image_access)
v3d_nir_lower_robust_image_access(c->s, c);
NIR_PASS(_, c->s, v3d_nir_lower_robust_image_access, c);
NIR_PASS(_, c->s, nir_lower_wrmasks, should_split_wrmask, c->s);