Module: Mesa Branch: master Commit: cff2e08c4cb87b7c2e19100e24c336e50b9839cc URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=cff2e08c4cb87b7c2e19100e24c336e50b9839cc
Author: Eric Anholt <[email protected]> Date: Tue Apr 14 21:59:46 2015 -0700 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). --- src/gallium/drivers/vc4/vc4_blit.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/gallium/drivers/vc4/vc4_blit.c b/src/gallium/drivers/vc4/vc4_blit.c index 4f87189..3204c3d 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; _______________________________________________ mesa-commit mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/mesa-commit
