diff options
author | Eric Anholt <[email protected]> | 2015-04-14 21:59:46 -0700 |
---|---|---|
committer | Eric Anholt <[email protected]> | 2015-04-15 16:50:23 -0700 |
commit | cff2e08c4cb87b7c2e19100e24c336e50b9839cc (patch) | |
tree | 51fbd1c53902fa403f30e85406a579a5e7ef1831 /src/gallium | |
parent | 3a728d4dfbd727c30f36116772803674beffcbb6 (diff) |
vc4: Don't try to use color load/stores to do depth/stencil blits.
Fixes regressions in fbo-generatemipmap-formats on depth/stencil (which
does blits to work around baselevel/lastlevel).
Diffstat (limited to 'src/gallium')
-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 4f87189fd2e..3204c3df060 100644 --- a/src/gallium/drivers/vc4/vc4_blit.c +++ b/src/gallium/drivers/vc4/vc4_blit.c @@ -125,6 +125,9 @@ vc4_tile_blit(struct pipe_context *pctx, const struct pipe_blit_info *info) { struct vc4_context *vc4 = vc4_context(pctx); + if (util_format_is_depth_or_stencil(info->dst.resource->format)) + return false; + if ((info->mask & PIPE_MASK_RGBA) == 0) return false; |