I haven't reviewed any NIR yet, so here's my 1st take and a bit explanation.
Alpha channel is introduced to the conversion, in case of other formats
we give constant 1.0 (as there's no support for alpha) while for AYUV we
support alpha and give the real channel value. Components go like 'VUYA'
Signed-off-by: Lionel Landwerlin
---
src/compiler/nir/nir.h | 1 +
src/compiler/nir/nir_lower_tex.c | 36 ++--
2 files changed, 31 insertions(+), 6 deletions(-)
diff --git a/src/compiler/nir/nir.h b/src/compiler/nir/nir.h
index f4f6b106505..2a843de8ae1 1006