From a52ef80d24fbb525afc7372fb7f17dc5f9a91a06 Mon Sep 17 00:00:00 2001 From: Rob Clark Date: Wed, 12 Sep 2018 14:48:44 -0400 Subject: [PATCH] freedreno/a6xx: fix MRT config Signed-off-by: Rob Clark --- src/gallium/drivers/freedreno/a6xx/fd6_emit.c | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/src/gallium/drivers/freedreno/a6xx/fd6_emit.c b/src/gallium/drivers/freedreno/a6xx/fd6_emit.c index c3823d85437..5528077e1cd 100644 --- a/src/gallium/drivers/freedreno/a6xx/fd6_emit.c +++ b/src/gallium/drivers/freedreno/a6xx/fd6_emit.c @@ -608,13 +608,13 @@ fd6_emit_state(struct fd_context *ctx, struct fd_ringbuffer *ring, OUT_PKT4(ring, REG_A6XX_SP_FS_RENDER_COMPONENTS, 1); OUT_RING(ring, A6XX_SP_FS_RENDER_COMPONENTS_RT0(mrt_comp[0]) | - A6XX_SP_FS_RENDER_COMPONENTS_RT1(mrt_comp[0]) | - A6XX_SP_FS_RENDER_COMPONENTS_RT2(mrt_comp[0]) | - A6XX_SP_FS_RENDER_COMPONENTS_RT3(mrt_comp[0]) | - A6XX_SP_FS_RENDER_COMPONENTS_RT4(mrt_comp[0]) | - A6XX_SP_FS_RENDER_COMPONENTS_RT5(mrt_comp[0]) | - A6XX_SP_FS_RENDER_COMPONENTS_RT6(mrt_comp[0]) | - A6XX_SP_FS_RENDER_COMPONENTS_RT7(mrt_comp[0])); + A6XX_SP_FS_RENDER_COMPONENTS_RT1(mrt_comp[1]) | + A6XX_SP_FS_RENDER_COMPONENTS_RT2(mrt_comp[2]) | + A6XX_SP_FS_RENDER_COMPONENTS_RT3(mrt_comp[3]) | + A6XX_SP_FS_RENDER_COMPONENTS_RT4(mrt_comp[4]) | + A6XX_SP_FS_RENDER_COMPONENTS_RT5(mrt_comp[5]) | + A6XX_SP_FS_RENDER_COMPONENTS_RT6(mrt_comp[6]) | + A6XX_SP_FS_RENDER_COMPONENTS_RT7(mrt_comp[7])); } if (dirty & FD_DIRTY_ZSA) { -- 2.30.2