gallium/u_blitter: enable MSAA when blitting to MSAA surfaces
authorBrian Paul <brianp@vmware.com>
Thu, 7 Dec 2017 16:09:13 +0000 (09:09 -0700)
committerMarek Olšák <marek.olsak@amd.com>
Wed, 3 Jul 2019 18:59:15 +0000 (14:59 -0400)
commit7bb3d6acec6c3829a01c0302ea970bd158b9c7f3
treed47a4bc5e5131c5e6e85ddab606fa5ad2d709cca
parente5be4351c2f5cc7a639dc2727e0b38f56b4a2263
gallium/u_blitter: enable MSAA when blitting to MSAA surfaces

If we're doing a Z -> Z MSAA blit (for example) we need to enable
msaa rasterization when drawing the quads so that we can properly
write the per-sample values.

This fixes a number of Piglit ext_framebuffer_multisample blit tests
such as ext_framebuffer_multisample/no-color 2 depth combined with
the VMware driver.

Signed-off-by: Marek Olšák <marek.olsak@amd.com>
src/gallium/auxiliary/util/u_blitter.c