st/mesa: add support for viewport index semantic
authorDave Airlie <airlied@redhat.com>
Tue, 21 Jan 2014 04:55:59 +0000 (14:55 +1000)
committerDave Airlie <airlied@redhat.com>
Tue, 11 Feb 2014 04:06:40 +0000 (14:06 +1000)
commitc116ee604260faca75aaf2b0d8bbbd78b9c71154
treeff02545b39e4bb6e5a664f93f3acbfef789b8d1b
parenta21552a96b8cfafa933cab2fd49a389317a1b44e
st/mesa: add support for viewport index semantic

This adds GS output and FS input support, even though FS input
support isn't supported until GLSL 4.30 from what I can see.

Signed-off-by: Dave Airlie <airlied@redhat.com>
src/mesa/state_tracker/st_program.c