aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/vc4/vc4_qir.h
diff options
context:
space:
mode:
authorEric Anholt <[email protected]>2014-08-14 13:27:11 -0700
committerEric Anholt <[email protected]>2014-08-15 12:01:32 -0700
commit7c65b714ed974248f09dcc0b4f020b2e2bf50227 (patch)
tree95fb853a19d0f58c95c3a4ffb7d8b492f6ca49e7 /src/gallium/drivers/vc4/vc4_qir.h
parentf663102585f9654200e531b42d5e8831ba7ed77f (diff)
vc4: Add support for blending.
Passes blendminmax and blendsquare. glean's more serious blendFunc fails in simulation due to binner memory overflow (I really need to work around that), and fbo-blending-formats fails due to Mesa refusing one of the getter requests, even before it could fail due to the driver not actually supporting different formats yet.
Diffstat (limited to 'src/gallium/drivers/vc4/vc4_qir.h')
-rw-r--r--src/gallium/drivers/vc4/vc4_qir.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gallium/drivers/vc4/vc4_qir.h b/src/gallium/drivers/vc4/vc4_qir.h
index 7d9806268fe..c25a58e831e 100644
--- a/src/gallium/drivers/vc4/vc4_qir.h
+++ b/src/gallium/drivers/vc4/vc4_qir.h
@@ -72,6 +72,7 @@ enum qop {
QOP_VPM_READ,
QOP_TLB_PASSTHROUGH_Z_WRITE,
QOP_TLB_COLOR_WRITE,
+ QOP_TLB_COLOR_READ,
QOP_VARY_ADD_C,
QOP_FRAG_X,
@@ -169,6 +170,8 @@ enum quniform_contents {
QUNIFORM_TEXRECT_SCALE_X,
QUNIFORM_TEXRECT_SCALE_Y,
+
+ QUNIFORM_BLEND_CONST_COLOR,
};
struct qcompile {