panfrost: Enable blitting
authorAlyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Fri, 21 Jun 2019 21:25:59 +0000 (14:25 -0700)
committerAlyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Tue, 25 Jun 2019 20:39:17 +0000 (13:39 -0700)
Now that all the prerequisites breaking u_blitter are fixed, we can
finally hook up panfrost_blit.

Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
src/gallium/drivers/panfrost/pan_blit.c

index 1033169..1e50448 100644 (file)
@@ -87,14 +87,10 @@ panfrost_blit(struct pipe_context *pipe,
          * u_blitter. We could do a little better by culling
          * vertex jobs, though. */
 
-        /* TODO: Implement blitting. Commented out because u_blitter is not
-         * fully integrated and creates bugs in other places. */
-#if 0
         if (panfrost_u_blitter_blit(pipe, info))
                 return;
 
         fprintf(stderr, "Unhandled blit");
-#endif
 
         return;
 }