summaryrefslogtreecommitdiffstats
path: root/src/compiler/nir/nir.h
diff options
context:
space:
mode:
authorJohnson Lin <[email protected]>2017-06-16 13:40:31 +0800
committerLionel Landwerlin <[email protected]>2017-06-30 10:16:26 +0100
commit8ff4be44b727ccd4452f426391c8a05b264e30dc (patch)
tree2be974ce20e8bbb846fb583db531ac2ea08f9685 /src/compiler/nir/nir.h
parent194205cd00e68a97aeeb60b4c8f71df33ad3e87b (diff)
nir: Add a lowering pass for UYVY textures
Similar with support for YUYV but with byte order difference in sampler Reviewed-by: Kristian H. Kristensen <[email protected]>
Diffstat (limited to 'src/compiler/nir/nir.h')
-rw-r--r--src/compiler/nir/nir.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/compiler/nir/nir.h b/src/compiler/nir/nir.h
index ab7ba14303b..1b4e47058d4 100644
--- a/src/compiler/nir/nir.h
+++ b/src/compiler/nir/nir.h
@@ -2449,6 +2449,7 @@ typedef struct nir_lower_tex_options {
unsigned lower_y_uv_external;
unsigned lower_y_u_v_external;
unsigned lower_yx_xuxv_external;
+ unsigned lower_xy_uxvx_external;
/**
* To emulate certain texture wrap modes, this can be used