Skip to content

nir: pass a callback to nir_lower_robust_access

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

rather than try to enumerate everything a driver might want with an unmanageable collection of booleans, just do a filter callback + data. this ends up simpler overall, and will allow Intel to use this pass for just 64-bit images without needing to add even more booleans.

while we're churning the pass signature, also do a quick port to nir_shader_intrinsics_pass


Cc @llandwerlin, this should help with 64b img atomics on Intel

Cc @itoral for Broadcom impact.

Merge request reports

Loading