The index buffer is fed in inline over a pushbuf. It's not related to vertices or any caching that might be done on them. Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu> Cc: mesa-stable@lists.freedesktop.orgtags/11.1-branchpoint
nv50->base.vbo_dirty = true; | nv50->base.vbo_dirty = true; | ||||
} | } | ||||
if (!nv50->base.vbo_dirty && nv50->idxbuf.buffer && | |||||
nv50->idxbuf.buffer->flags & PIPE_RESOURCE_FLAG_MAP_COHERENT) | |||||
nv50->base.vbo_dirty = true; | |||||
if (nv50->base.vbo_dirty) { | if (nv50->base.vbo_dirty) { | ||||
BEGIN_NV04(push, NV50_3D(VERTEX_ARRAY_FLUSH), 1); | BEGIN_NV04(push, NV50_3D(VERTEX_ARRAY_FLUSH), 1); | ||||
PUSH_DATA (push, 0); | PUSH_DATA (push, 0); |