From: Marek Olšák Date: Tue, 7 Jul 2015 16:28:31 +0000 (+0200) Subject: st/dri: don't set PIPE_BIND_SCANOUT for MSAA surfaces X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=6611f65047575054a38ce83ebfe0331e39e1774f;p=mesa.git 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 --- diff --git a/src/gallium/state_trackers/dri/dri2.c b/src/gallium/state_trackers/dri/dri2.c index 8d93f786433..1eda036750e 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.