diff options
author | Eric Anholt <[email protected]> | 2015-12-04 13:15:01 -0800 |
---|---|---|
committer | Eric Anholt <[email protected]> | 2015-12-05 13:12:27 -0800 |
commit | d16d666776ee12659145f08bd35566dd2cc0f925 (patch) | |
tree | 469a2d51a2b1943a09c50055b02197a3fa01ef9d /src | |
parent | 0afe83078d10e0d376f7c3e2515ab2682fec0eb1 (diff) |
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
Diffstat (limited to 'src')
-rw-r--r-- | src/gallium/drivers/vc4/vc4_blit.c | 3 |
1 files changed, 3 insertions, 0 deletions
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; |