nir/lower_tex: Add support for XYUV lowering

The memory layout associated with this format would be:
Byte:      0 1 2 3
Component: V U Y X

Signed-off-by: Vivek Kasireddy <vivek.kasireddy@intel.com>
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Reviewed-by: Tapani Pälli <tapani.palli@intel.com>
Reviewed-by: Eric Engestrom <eric.engestrom@intel.com>
This commit is contained in:
Kasireddy, Vivek
2019-02-12 16:02:20 -08:00
committed by Lionel Landwerlin
parent 913d711e0f
commit 78fb3fd17e
2 changed files with 21 additions and 0 deletions

View File

@@ -3058,6 +3058,7 @@ typedef struct nir_lower_tex_options {
unsigned lower_yx_xuxv_external;
unsigned lower_xy_uxvx_external;
unsigned lower_ayuv_external;
unsigned lower_xyuv_external;
/**
* To emulate certain texture wrap modes, this can be used