From: Eric Anholt Date: Wed, 15 Apr 2015 04:59:46 +0000 (-0700) Subject: vc4: Don't try to use color load/stores to do depth/stencil blits. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=cff2e08c4cb87b7c2e19100e24c336e50b9839cc;p=mesa.git 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). --- 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;