nir/lower_tex: Add AYUV lowering support
authorLionel Landwerlin <lionel.g.landwerlin@intel.com>
Thu, 8 Nov 2018 16:28:20 +0000 (16:28 +0000)
committerLionel Landwerlin <lionel.g.landwerlin@intel.com>
Mon, 12 Nov 2018 13:22:54 +0000 (13:22 +0000)
commit8a15f06d19d143198cb92321fcc5dc741783c01c
treeaf79e12e5090aca9d1ff85d270b6daeba101354c
parent0a30c33e837c1aa36398950190ccd856111bbfbc
nir/lower_tex: Add AYUV lowering support

Byte ordering is :

0: V
1: U
2: Y
3: A

v2: Split refactoring of alpha channel (Lionel)

Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Reviewed-by: Tapani Pälli <tapani.palli@intel.com> (v1)
Acked-by: Eric Engestrom <eric.engestrom@intel.com> (v2)
src/compiler/nir/nir.h
src/compiler/nir/nir_lower_tex.c