Skip to content

nir: Add nir_lower_robust_access pass based on v3d's

Alyssa Rosenzweig requested to merge alyssa/mesa:nir/robust-access into main

Import v3d_nir_lower_robust_access.c pass from v3d into common code, since it will be useful for multiple drivers (v3d and asahi). Although the logic is bug-for-bug compatible with v3d_nir_lower_robust_access, the implementation here is modified in various small ways to be suitable for common code.

Edited by Alyssa Rosenzweig

Merge request reports