projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0b3270b
)
u_vbuf_mgr: don't take per-instance attribs into acc. when computing max index
author
Marek Olšák
<maraeo@gmail.com>
Sun, 25 Sep 2011 16:44:36 +0000
(18:44 +0200)
committer
Marek Olšák
<maraeo@gmail.com>
Mon, 26 Sep 2011 13:25:04 +0000
(15:25 +0200)
NOTE: This is a candidate for the 7.11 branch.
src/gallium/auxiliary/util/u_vbuf_mgr.c
patch
|
blob
|
history
diff --git
a/src/gallium/auxiliary/util/u_vbuf_mgr.c
b/src/gallium/auxiliary/util/u_vbuf_mgr.c
index 91102b39c5ef4ce9c88362cdf53dccc1a92900aa..b2070abd8210bc92526980e358e20c8763be7c7a 100644
(file)
--- a/
src/gallium/auxiliary/util/u_vbuf_mgr.c
+++ b/
src/gallium/auxiliary/util/u_vbuf_mgr.c
@@
-575,7
+575,8
@@
static void u_vbuf_mgr_compute_max_index(struct u_vbuf_mgr_priv *mgr)
if (!vb->buffer ||
!vb->stride ||
- u_vbuf_resource(vb->buffer)->user_ptr) {
+ u_vbuf_resource(vb->buffer)->user_ptr ||
+ mgr->ve->ve[i].instance_divisor) {
continue;
}