Draft: nir: Add a common nir_lower_tex_array_or_cube
This allows to lower txl and txf to txd for array and cube samplers for implementation that do not support them.
Signed-off-by: Corentin Noël corentin.noel@collabora.com
Due to an influx of spam, we have had to impose restrictions on new accounts. Please see this wiki page for instructions on how to get full permissions. Sorry for the inconvenience.
This allows to lower txl and txf to txd for array and cube samplers for implementation that do not support them.
Signed-off-by: Corentin Noël corentin.noel@collabora.com