From: Eric Anholt Date: Fri, 4 Dec 2015 21:15:01 +0000 (-0800) Subject: vc4: Disable RCL blitting when scissors are enabled. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=d16d666776ee12659145f08bd35566dd2cc0f925;p=mesa.git vc4: Disable RCL blitting when scissors are enabled. We could potentially handle scissored blits when they're tile aligned, but it doesn't seem worth it. If you're doing a scissored blit, you're probably a testcase. Fixes piglit's fbo-scissor-blit fbo --- diff --git a/src/gallium/drivers/vc4/vc4_blit.c b/src/gallium/drivers/vc4/vc4_blit.c index d5839c58199..f58cfd3e552 100644 --- a/src/gallium/drivers/vc4/vc4_blit.c +++ b/src/gallium/drivers/vc4/vc4_blit.c @@ -57,6 +57,9 @@ vc4_tile_blit(struct pipe_context *pctx, const struct pipe_blit_info *info) if (util_format_is_depth_or_stencil(info->dst.resource->format)) return false; + if (info->scissor_enable) + return false; + if ((info->mask & PIPE_MASK_RGBA) == 0) return false;