broadcom/vc5: Make the BCL's number of render targets setup match the RCL.

This commit is contained in:
Eric Anholt 2017-10-02 16:55:04 -07:00
parent 8b4c00a7b2
commit 476db7e66b
1 changed files with 2 additions and 1 deletions

View File

@ -80,7 +80,8 @@ vc5_start_draw(struct vc5_context *vc5)
config.height_in_tiles = job->draw_tiles_y;
/* Must be >= 1 */
config.number_of_render_targets = 1;
config.number_of_render_targets =
MAX2(vc5->framebuffer.nr_cbufs, 1);
config.multisample_mode_4x = job->msaa;