st/mesa: use vertex id lowering according to pipe cap bit.
authorRoland Scheidegger <sroland@vmware.com>
Fri, 12 Dec 2014 03:14:02 +0000 (04:14 +0100)
committerRoland Scheidegger <sroland@vmware.com>
Tue, 16 Dec 2014 03:23:00 +0000 (04:23 +0100)
commitfef58979e191e4410fbab2f7dd14cafc340712da
tree3beddf6699d6a2fcff365f4017ad0495b38bf1ae
parent97dc3d826e0c04e747ff5dbecf3026b6a16737fd
st/mesa: use vertex id lowering according to pipe cap bit.

Tested with llvmpipe by setting the cap bit temporarily, seems to work,
though no driver requests it for now.
src/mesa/state_tracker/st_extensions.c
src/mesa/state_tracker/st_glsl_to_tgsi.cpp