projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ea8e854
)
st/mesa: set stObj->lastLevel in guess_and_alloc_texture
author
Vadim Girlin
<vadimgirlin@gmail.com>
Wed, 23 May 2012 02:07:00 +0000
(06:07 +0400)
committer
Vadim Girlin
<vadimgirlin@gmail.com>
Wed, 23 May 2012 02:07:00 +0000
(06:07 +0400)
Fixes lockups/asserts with depthstencil-render-miplevels tests and r600g.
Should also fix https://bugs.freedesktop.org/show_bug.cgi?id=50033
NOTE: This is a candidate for the 8.0 branch.
Signed-off-by: Vadim Girlin <vadimgirlin@gmail.com>
Reviewed-by: Brian Paul <brianp@vmware.com>
src/mesa/state_tracker/st_cb_texture.c
patch
|
blob
|
history
diff --git
a/src/mesa/state_tracker/st_cb_texture.c
b/src/mesa/state_tracker/st_cb_texture.c
index f9c190a68ad07a7b063f5484291bbaee94e67259..b24f9a1ceffaf63b22b78d6944a0a9cb05764c29 100644
(file)
--- a/
src/mesa/state_tracker/st_cb_texture.c
+++ b/
src/mesa/state_tracker/st_cb_texture.c
@@
-400,6
+400,8
@@
guess_and_alloc_texture(struct st_context *st,
ptLayers,
bindings);
+ stObj->lastLevel = lastLevel;
+
DBG("%s returning %d\n", __FUNCTION__, (stObj->pt != NULL));
return stObj->pt != NULL;