mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 17:48:10 +02:00
u_vbuf_mgr: don't take per-instance attribs into acc. when computing max index
NOTE: This is a candidate for the 7.11 branch.
This commit is contained in:
parent
0b3270b9b7
commit
4b5bf5a2a2
1 changed files with 2 additions and 1 deletions
|
|
@ -575,7 +575,8 @@ static void u_vbuf_mgr_compute_max_index(struct u_vbuf_mgr_priv *mgr)
|
||||||
|
|
||||||
if (!vb->buffer ||
|
if (!vb->buffer ||
|
||||||
!vb->stride ||
|
!vb->stride ||
|
||||||
u_vbuf_resource(vb->buffer)->user_ptr) {
|
u_vbuf_resource(vb->buffer)->user_ptr ||
|
||||||
|
mgr->ve->ve[i].instance_divisor) {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue