mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-30 07:10:27 +01:00
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 <brianp@vmware.com>
(cherry picked from commit 6611f65047)
Nominated-by: Ilia Mirkin <imirkin@alum.mit.edu>
This commit is contained in:
parent
f3abea1577
commit
57a6f5208d
1 changed files with 1 additions and 1 deletions
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue