Module: Mesa Branch: master Commit: 6611f65047575054a38ce83ebfe0331e39e1774f URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=6611f65047575054a38ce83ebfe0331e39e1774f
Author: Marek Olšák <[email protected]> Date: Tue Jul 7 18:28:31 2015 +0200 st/dri: don't set PIPE_BIND_SCANOUT for MSAA surfaces Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=91231 Reviewed-by: Brian Paul <[email protected]> --- src/gallium/state_trackers/dri/dri2.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gallium/state_trackers/dri/dri2.c b/src/gallium/state_trackers/dri/dri2.c index 8d93f78..1eda036 100644 --- a/src/gallium/state_trackers/dri/dri2.c +++ b/src/gallium/state_trackers/dri/dri2.c @@ -554,7 +554,7 @@ dri2_allocate_textures(struct dri_context *ctx, if (drawable->textures[statt]) { templ.format = drawable->textures[statt]->format; - templ.bind = drawable->textures[statt]->bind; + templ.bind = drawable->textures[statt]->bind & ~PIPE_BIND_SCANOUT; templ.nr_samples = drawable->stvis.samples; /* Try to reuse the resource. _______________________________________________ mesa-commit mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/mesa-commit
