vc4: Fix check for tile RCL blits with mismatched y.
authorEric Anholt <eric@anholt.net>
Tue, 8 Dec 2015 04:24:12 +0000 (20:24 -0800)
committerEric Anholt <eric@anholt.net>
Tue, 8 Dec 2015 17:49:51 +0000 (09:49 -0800)
This was a typo in 3a508a0d94d020d9cd95f8882e9393d83ffac377 that didn't
show up in testcases at that moment.

src/gallium/drivers/vc4/vc4_blit.c

index f58cfd3e552b7601fa9202254877ca5a8bb2e7b9..6f5c91d09098e2fcfab053b0d04e93a9793d2c41 100644 (file)
@@ -64,7 +64,7 @@ vc4_tile_blit(struct pipe_context *pctx, const struct pipe_blit_info *info)
                 return false;
 
         if (info->dst.box.x != info->src.box.x ||
-            info->src.box.y != info->src.box.y ||
+            info->dst.box.y != info->src.box.y ||
             info->dst.box.width != info->src.box.width ||
             info->dst.box.height != info->src.box.height) {
                 return false;