summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers
diff options
context:
space:
mode:
authorRob Clark <[email protected]>2016-04-22 17:04:20 -0400
committerRob Clark <[email protected]>2016-04-24 13:40:57 -0400
commit19118e6f4713fd90d1a0bb75cbb2c06f1043d378 (patch)
treed1e0da01a4b563faa42e2eaf10eeb4101764a610 /src/gallium/drivers
parentc0c6ca40a25e47068984155521db8b4aa3e7569c (diff)
freedreno/a4xx: blend state no longer depends on fb state
Signed-off-by: Rob Clark <[email protected]>
Diffstat (limited to 'src/gallium/drivers')
-rw-r--r--src/gallium/drivers/freedreno/a4xx/fd4_emit.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/gallium/drivers/freedreno/a4xx/fd4_emit.c b/src/gallium/drivers/freedreno/a4xx/fd4_emit.c
index dbb9ad21a15..ba5d48909fa 100644
--- a/src/gallium/drivers/freedreno/a4xx/fd4_emit.c
+++ b/src/gallium/drivers/freedreno/a4xx/fd4_emit.c
@@ -657,11 +657,8 @@ fd4_emit_state(struct fd_context *ctx, struct fd_ringbuffer *ring,
A4XX_RB_FS_OUTPUT_SAMPLE_MASK(0xffff));
}
- if (dirty & (FD_DIRTY_BLEND_COLOR | FD_DIRTY_FRAMEBUFFER)) {
+ if (dirty & FD_DIRTY_BLEND_COLOR) {
struct pipe_blend_color *bcolor = &ctx->blend_color;
- struct pipe_framebuffer_state *pfb = &ctx->framebuffer;
-
- /* TODO make this a state obj? */
OUT_PKT0(ring, REG_A4XX_RB_BLEND_RED, 8);
OUT_RING(ring, A4XX_RB_BLEND_RED_FLOAT(bcolor->color[0]) |