OSDN Git Service

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 f58cfd3..6f5c91d 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;