draw: implement support for the VERTEXID_NOBASE and BASEVERTEX semantics.
authorRoland Scheidegger <sroland@vmware.com>
Fri, 12 Dec 2014 03:13:54 +0000 (04:13 +0100)
committerRoland Scheidegger <sroland@vmware.com>
Tue, 16 Dec 2014 03:23:00 +0000 (04:23 +0100)
commit97dc3d826e0c04e747ff5dbecf3026b6a16737fd
treee4463f3b55a5bb8ea114061be8324f8a238f832b
parentade8b26bf515fa4f0cbf43e9df4885368e984277
draw: implement support for the VERTEXID_NOBASE and BASEVERTEX semantics.

This fixes 4 vertexid related piglit tests with llvmpipe due to switching
behavior of vertexid to the one gl expects.
(Won't fix non-llvm draw path since we don't get the basevertex currently.)
src/gallium/auxiliary/draw/draw_llvm.c
src/gallium/auxiliary/draw/draw_vs_exec.c
src/gallium/auxiliary/gallivm/lp_bld_tgsi.h
src/gallium/auxiliary/gallivm/lp_bld_tgsi_soa.c