projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
10cff5e
)
st/dri: don't set PIPE_BIND_SCANOUT for MSAA surfaces
author
Marek Olšák
<marek.olsak@amd.com>
Tue, 7 Jul 2015 16:28:31 +0000
(18:28 +0200)
committer
Marek Olšák
<marek.olsak@amd.com>
Tue, 7 Jul 2015 19:36:50 +0000
(21:36 +0200)
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=91231
Reviewed-by: Brian Paul <brianp@vmware.com>
src/gallium/state_trackers/dri/dri2.c
patch
|
blob
|
history
diff --git
a/src/gallium/state_trackers/dri/dri2.c
b/src/gallium/state_trackers/dri/dri2.c
index 8d93f786433f0262a390428b91956200c01741f7..1eda036750ed4f5586346adc46475b8c111dfd02 100644
(file)
--- 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.