projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8b4c00a
)
broadcom/vc5: Make the BCL's number of render targets setup match the RCL.
author
Eric Anholt
<eric@anholt.net>
Mon, 2 Oct 2017 23:55:04 +0000
(16:55 -0700)
committer
Eric Anholt
<eric@anholt.net>
Tue, 10 Oct 2017 18:42:06 +0000
(11:42 -0700)
src/gallium/drivers/vc5/vc5_draw.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/vc5/vc5_draw.c
b/src/gallium/drivers/vc5/vc5_draw.c
index 8c6a753b2718bc57c76292f0bd54cd9268b885ea..c4e9973f949a8ee28675bb4edf1a6abb7eae758d 100644
(file)
--- 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;