broadcom/vc5: Set the RCL's MSAA mode to match the BCL's MSAA state.
authorEric Anholt <eric@anholt.net>
Fri, 6 Oct 2017 00:18:34 +0000 (17:18 -0700)
committerEric Anholt <eric@anholt.net>
Tue, 10 Oct 2017 18:42:06 +0000 (11:42 -0700)
src/gallium/drivers/vc5/vc5_rcl.c

index 0706da613cb0992a536d22450a58f93d59288dde..4ef2d83798b9dd386525d97116612e2065b9a981 100644 (file)
@@ -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;
         }