diff options
author | Eric Anholt <[email protected]> | 2014-08-14 13:27:11 -0700 |
---|---|---|
committer | Eric Anholt <[email protected]> | 2014-08-15 12:01:32 -0700 |
commit | 7c65b714ed974248f09dcc0b4f020b2e2bf50227 (patch) | |
tree | 95fb853a19d0f58c95c3a4ffb7d8b492f6ca49e7 /src/gallium/drivers/vc4/vc4_qpu_emit.c | |
parent | f663102585f9654200e531b42d5e8831ba7ed77f (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_qpu_emit.c')
-rw-r--r-- | src/gallium/drivers/vc4/vc4_qpu_emit.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/gallium/drivers/vc4/vc4_qpu_emit.c b/src/gallium/drivers/vc4/vc4_qpu_emit.c index 63f37dd8fa0..4e8a6b2d8e9 100644 --- a/src/gallium/drivers/vc4/vc4_qpu_emit.c +++ b/src/gallium/drivers/vc4/vc4_qpu_emit.c @@ -494,6 +494,13 @@ vc4_generate_code(struct qcompile *c) qpu_m_NOP())); break; + case QOP_TLB_COLOR_READ: + queue(c, qpu_inst(qpu_a_NOP(), qpu_m_NOP())); + *last_inst(c) = qpu_set_sig(*last_inst(c), + QPU_SIG_COLOR_LOAD); + + break; + case QOP_TLB_COLOR_WRITE: queue(c, qpu_inst(qpu_a_MOV(qpu_tlbc(), src[0]), |