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 103316929ba1ddf99899eccd8809f90a2d5b4ad6..1e50448a67def3a1615554534dadd88d7ba5b79d 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;
 }