From: Rob Clark Date: Wed, 12 Sep 2018 18:48:44 +0000 (-0400) Subject: freedreno/a6xx: fix MRT config X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=a52ef80d24fbb525afc7372fb7f17dc5f9a91a06;p=mesa.git freedreno/a6xx: fix MRT config Signed-off-by: Rob Clark --- 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) {