From 7c65b714ed974248f09dcc0b4f020b2e2bf50227 Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Thu, 14 Aug 2014 13:27:11 -0700 Subject: 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. --- src/gallium/drivers/vc4/vc4_qir.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/gallium/drivers/vc4/vc4_qir.h') 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 { -- cgit v1.2.3