diff options
author | Eric Anholt <[email protected]> | 2017-10-02 16:55:04 -0700 |
---|---|---|
committer | Eric Anholt <[email protected]> | 2017-10-10 11:42:06 -0700 |
commit | 476db7e66b5c2b4cade87c7c8de4bea25ea9eb43 (patch) | |
tree | 492a48bff3f5572e5445c4301e19a6ac6ecb0e05 /src/gallium | |
parent | 8b4c00a7b2d65b97413ed344c016af88bc7eaaf2 (diff) |
broadcom/vc5: Make the BCL's number of render targets setup match the RCL.
Diffstat (limited to 'src/gallium')
-rw-r--r-- | src/gallium/drivers/vc5/vc5_draw.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gallium/drivers/vc5/vc5_draw.c b/src/gallium/drivers/vc5/vc5_draw.c index 8c6a753b271..c4e9973f949 100644 --- a/src/gallium/drivers/vc5/vc5_draw.c +++ b/src/gallium/drivers/vc5/vc5_draw.c @@ -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; |