diff options
author | Eric Anholt <eric@anholt.net> | 2015-12-04 13:15:01 -0800 |
---|---|---|
committer | Eric Anholt <eric@anholt.net> | 2015-12-11 17:03:03 -0800 |
commit | 9df243119463b4c1da9b95b44d0e444f19bb892b (patch) | |
tree | 5564a25c2d1181ab8f00aee4214becce7c2d53cf /src/gallium/drivers/vc4 | |
parent | dd409e2a414d82fe2dc0605b1e0634afa6dcc6ea (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
(cherry picked from commit d16d666776ee12659145f08bd35566dd2cc0f925)
Diffstat (limited to 'src/gallium/drivers/vc4')
-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; |