braodcom/vc5: Fix tile size setup for MRTs.
We need to divide the TLB in two for the 2nd color buffer, and again if the 3rd or 4th are present.
This commit is contained in:
parent
dc25a83a7a
commit
8b4c00a7b2
|
@ -193,9 +193,9 @@ vc5_job_set_tile_buffer_size(struct vc5_job *job)
|
||||||
if (job->msaa)
|
if (job->msaa)
|
||||||
tile_size_index += 2;
|
tile_size_index += 2;
|
||||||
|
|
||||||
if (job->cbufs[3])
|
if (job->cbufs[3] || job->cbufs[2])
|
||||||
tile_size_index += 2;
|
tile_size_index += 2;
|
||||||
else if (job->cbufs[2])
|
else if (job->cbufs[1])
|
||||||
tile_size_index++;
|
tile_size_index++;
|
||||||
|
|
||||||
int max_bpp = RENDER_TARGET_MAXIMUM_32BPP;
|
int max_bpp = RENDER_TARGET_MAXIMUM_32BPP;
|
||||||
|
|
Loading…
Reference in New Issue