summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/vc4/vc4_qir.h
diff options
context:
space:
mode:
authorEric Anholt <[email protected]>2014-09-24 13:17:11 -0700
committerEric Anholt <[email protected]>2014-09-24 15:56:39 -0700
commit8cd165051b52a9d70512fd138463aa165bea849a (patch)
tree1d0a0a09cc4fbe9427642eaf4d698f7bbc8e8970 /src/gallium/drivers/vc4/vc4_qir.h
parenta87e44da3a801028783979cfd3548d0ebc9fdd88 (diff)
vc4: Add support for alpha test.
Fixes most of piglit fbo-alphatest-formats (but not RGB565/332).
Diffstat (limited to 'src/gallium/drivers/vc4/vc4_qir.h')
-rw-r--r--src/gallium/drivers/vc4/vc4_qir.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/drivers/vc4/vc4_qir.h b/src/gallium/drivers/vc4/vc4_qir.h
index 04a81c95459..0a2c6857966 100644
--- a/src/gallium/drivers/vc4/vc4_qir.h
+++ b/src/gallium/drivers/vc4/vc4_qir.h
@@ -206,6 +206,8 @@ enum quniform_contents {
QUNIFORM_BLEND_CONST_COLOR,
QUNIFORM_STENCIL,
+
+ QUNIFORM_ALPHA_REF,
};
struct vc4_compile {