vc4: Don't try to blit from MSAA surfaces with mismatched width to dst.
authorEric Anholt <eric@anholt.net>
Wed, 20 Apr 2016 21:11:04 +0000 (14:11 -0700)
committerEric Anholt <eric@anholt.net>
Fri, 22 Apr 2016 18:27:11 +0000 (11:27 -0700)
commit6eabdb8959eef9802caa618e7390eb5beeca226a
tree1c19736b2373e8d6467632a71f8da20241dfaab1
parent42dea145d9c83d1ad59dfb275072a4ed67233d1d
vc4: Don't try to blit from MSAA surfaces with mismatched width to dst.

I had made the previous blit fix non-MSAA only because I was thinking
about how the hardware infers stride from the RENDERING_CONFIG packet.
However, I'm also inferring the stride for both MSAA src and dst in
vc4_render_cl.c from the width argument in the ioctl.

Fixes 15 EXT_framebuffer_multisample piglit tests.
src/gallium/drivers/vc4/vc4_blit.c