aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorRob Clark <[email protected]>2018-09-12 14:48:44 -0400
committerRob Clark <[email protected]>2018-09-27 15:30:36 -0400
commita52ef80d24fbb525afc7372fb7f17dc5f9a91a06 (patch)
tree9367641bda85da87ce7bd8b7286eb91cca79d236 /src
parent8930e836429506249074f3757185378f0776ee67 (diff)
freedreno/a6xx: fix MRT config
Signed-off-by: Rob Clark <[email protected]>
Diffstat (limited to 'src')
-rw-r--r--src/gallium/drivers/freedreno/a6xx/fd6_emit.c14
1 files 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) {