projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
04e3969
)
svga: fix layer/level mix-up in svga_mark_surface_dirty()
author
Brian Paul
<brianp@vmware.com>
Mon, 24 Jun 2013 22:25:09 +0000
(16:25 -0600)
committer
Brian Paul
<brianp@vmware.com>
Tue, 25 Jun 2013 23:54:24 +0000
(17:54 -0600)
Reviewed-by: Jose Fonseca <jfonseca@vmware.com>
src/gallium/drivers/svga/svga_surface.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/svga/svga_surface.c
b/src/gallium/drivers/svga/svga_surface.c
index f5619561269bcb6bc165014865f0d64cb711d732..3cbe4cb80d49bf94dbafb0996811bf4d62254186 100644
(file)
--- a/
src/gallium/drivers/svga/svga_surface.c
+++ b/
src/gallium/drivers/svga/svga_surface.c
@@
-315,7
+315,7
@@
svga_mark_surface_dirty(struct pipe_surface *surf)
/* Increment the view_age and texture age for this surface's slice
* so that any sampler views into the texture are re-validated too.
*/
-
tex->view_age[surf->u.tex.first_layer] = ++(tex->age
);
+
svga_age_texture_view(tex, surf->u.tex.first_layer
);
}
}