summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/vc5
diff options
context:
space:
mode:
authorEric Anholt <[email protected]>2017-10-05 17:18:34 -0700
committerEric Anholt <[email protected]>2017-10-10 11:42:06 -0700
commitf4b515887469831468c1afb032e8c7431ccf4c6c (patch)
tree237901b9ab2272b333c0ff6d25b2dde9ff51fceb /src/gallium/drivers/vc5
parentae9a56db6a73c6a5dfc237e30fdf8ad0186b884b (diff)
broadcom/vc5: Set the RCL's MSAA mode to match the BCL's MSAA state.
Diffstat (limited to 'src/gallium/drivers/vc5')
-rw-r--r--src/gallium/drivers/vc5/vc5_rcl.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/drivers/vc5/vc5_rcl.c b/src/gallium/drivers/vc5/vc5_rcl.c
index 0706da613cb..4ef2d83798b 100644
--- a/src/gallium/drivers/vc5/vc5_rcl.c
+++ b/src/gallium/drivers/vc5/vc5_rcl.c
@@ -126,6 +126,8 @@ vc5_emit_rcl(struct vc5_job *job)
config.number_of_render_targets_minus_1 =
MAX2(nr_cbufs, 1) - 1;
+ config.multisample_mode_4x = job->msaa;
+
config.maximum_bpp_of_all_render_targets = job->internal_bpp;
}