diff options
Diffstat (limited to 'src/gallium/drivers/freedreno/a4xx/fd4_emit.c')
-rw-r--r-- | src/gallium/drivers/freedreno/a4xx/fd4_emit.c | 20 |
1 files changed, 9 insertions, 11 deletions
diff --git a/src/gallium/drivers/freedreno/a4xx/fd4_emit.c b/src/gallium/drivers/freedreno/a4xx/fd4_emit.c index 00e92ceba36..7f9b7257074 100644 --- a/src/gallium/drivers/freedreno/a4xx/fd4_emit.c +++ b/src/gallium/drivers/freedreno/a4xx/fd4_emit.c @@ -595,17 +595,15 @@ fd4_emit_restore(struct fd_context *ctx) OUT_PKT0(ring, REG_A4XX_UNKNOWN_20F2, 1); OUT_RING(ring, 0x00000000); - OUT_PKT0(ring, REG_A4XX_UNKNOWN_20F3, 1); - OUT_RING(ring, 0x00000000); - - OUT_PKT0(ring, REG_A4XX_UNKNOWN_20F4, 1); - OUT_RING(ring, 0x00000000); - - OUT_PKT0(ring, REG_A4XX_UNKNOWN_20F5, 1); - OUT_RING(ring, 0x00000000); - - OUT_PKT0(ring, REG_A4XX_UNKNOWN_20F6, 1); - OUT_RING(ring, 0x3c007fff); + OUT_PKT0(ring, REG_A4XX_RB_BLEND_RED, 4); + OUT_RING(ring, A4XX_RB_BLEND_RED_UINT(0) | + A4XX_RB_BLEND_RED_FLOAT(0.0)); + OUT_RING(ring, A4XX_RB_BLEND_GREEN_UINT(0) | + A4XX_RB_BLEND_GREEN_FLOAT(0.0)); + OUT_RING(ring, A4XX_RB_BLEND_BLUE_UINT(0) | + A4XX_RB_BLEND_BLUE_FLOAT(0.0)); + OUT_RING(ring, A4XX_RB_BLEND_ALPHA_UINT(0x7fff) | + A4XX_RB_BLEND_ALPHA_FLOAT(1.0)); OUT_PKT0(ring, REG_A4XX_UNKNOWN_20F7, 1); OUT_RING(ring, 0x3f800000); |