Skip to content

agx: Convert and clamp array indices in NIR

Alyssa Rosenzweig requested to merge asahi/mesa:asahi/array-nir into main

..Rather than at backend IR translation time. This is considerably simpler because we can use the txs lowering instead of special casing array sizes. Unfortunately it generates worse code, but that gap should close once nir_opt_preamble is wired in.

Signed-off-by: Alyssa Rosenzweig alyssa@rosenzweig.io

Merge request reports