nv50,nvc0: fix start_instance in manual push path
authorIlia Mirkin <imirkin@alum.mit.edu>
Sun, 19 Jun 2016 01:54:37 +0000 (21:54 -0400)
committerIlia Mirkin <imirkin@alum.mit.edu>
Wed, 22 Jun 2016 01:50:16 +0000 (21:50 -0400)
commit1f4bca798dda155ad0615ba81d8373c771d1ec94
treec6dc365b33f435ec0cd9b60acd2ffa4283530c73
parent5b0d64886dfe9d42d02666ee1b07f2aa375197a5
nv50,nvc0: fix start_instance in manual push path

The start instance is applied as an offset into the buffer directly,
ignoring the divisor, not as an instance id offset that respects the
divisor.

Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
Cc: "11.2 12.0" <mesa-stable@lists.freedesktop.org>
Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
src/gallium/drivers/nouveau/nv50/nv50_push.c
src/gallium/drivers/nouveau/nvc0/nvc0_vbo_translate.c