On 05/20/2012 11:21 AM, Vadim Girlin wrote:
Fixes lockups/asserts with depthstencil-render-miplevels tests on r600.
Should also fix https://bugs.freedesktop.org/show_bug.cgi?id=50033
Signed-off-by: Vadim Girlin<[email protected]>
---
src/mesa/state_tracker/st_cb_texture.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/src/mesa/state_tracker/st_cb_texture.c
b/src/mesa/state_tracker/st_cb_texture.c
index f9c190a..b24f9a1 100644
--- 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;
Looks reasonable. This should probably also be tagged as a candidate
for the 8.0 branch.
Reviewed-by: Brian Paul <[email protected]>
_______________________________________________
mesa-dev mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/mesa-dev