summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium/drivers')
-rw-r--r--src/gallium/drivers/vc5/vc5_job.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/drivers/vc5/vc5_job.c b/src/gallium/drivers/vc5/vc5_job.c
index 5b97e6bf72f..ed1a64be891 100644
--- a/src/gallium/drivers/vc5/vc5_job.c
+++ b/src/gallium/drivers/vc5/vc5_job.c
@@ -193,9 +193,9 @@ vc5_job_set_tile_buffer_size(struct vc5_job *job)
if (job->msaa)
tile_size_index += 2;
- if (job->cbufs[3])
+ if (job->cbufs[3] || job->cbufs[2])
tile_size_index += 2;
- else if (job->cbufs[2])
+ else if (job->cbufs[1])
tile_size_index++;
int max_bpp = RENDER_TARGET_MAXIMUM_32BPP;