vc4: Fix up tile alignment checks for blitting using just an RCL.
authorEric Anholt <eric@anholt.net>
Sun, 22 Nov 2015 03:26:54 +0000 (19:26 -0800)
committerEric Anholt <eric@anholt.net>
Fri, 4 Dec 2015 17:10:53 +0000 (09:10 -0800)
commit3a508a0d94d020d9cd95f8882e9393d83ffac377
treef42000fd419a962e3129a08031aa3ee013adda89
parenta664233042e1ad343184a0c237c3bd7ac5010779
vc4: Fix up tile alignment checks for blitting using just an RCL.

We were checking that the blit started at 0 and was 1:1, but not that it
went to the full width of the surface, or that the width was aligned to a
tile.  We then told it to blit to the full width/height of the surface,
causing contents to be stomped in a bunch of MSAA tests that happen to
include half-screen-width blits to 0,0.
src/gallium/drivers/vc4/vc4_blit.c