nv50: avoid using inline vertex data submit when gl_VertexID is used
authorIlia Mirkin <imirkin@alum.mit.edu>
Mon, 24 Aug 2015 15:49:05 +0000 (11:49 -0400)
committerIlia Mirkin <imirkin@alum.mit.edu>
Sun, 6 Sep 2015 03:04:21 +0000 (23:04 -0400)
commitc830d193db5c90cf0af57ff73606e2aa12aed9a8
treef003f3405bf7b537f1cef45073f294dca2f455d0
parent4a025c6bc835387a31007fdf30a130e612e54e19
nv50: avoid using inline vertex data submit when gl_VertexID is used

The hardware only generates vertexid when vertices come from a VBO. This
fixes:

  vertexid-drawelements
  vertexid-drawarrays

Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
Cc: "11.0" <mesa-stable@lists.freedesktop.org>
src/gallium/drivers/nouveau/nv50/nv50_program.c
src/gallium/drivers/nouveau/nv50/nv50_program.h
src/gallium/drivers/nouveau/nv50/nv50_state_validate.c
src/gallium/drivers/nouveau/nv50/nv50_vbo.c