st_glsl_to_tgsi: add support for prim id fragment shader input
authorDave Airlie <airlied@redhat.com>
Wed, 18 Dec 2013 08:00:33 +0000 (18:00 +1000)
committerDave Airlie <airlied@redhat.com>
Wed, 18 Dec 2013 22:46:29 +0000 (22:46 +0000)
commit149140e922a9fbf892c60a755788fb88d9757749
treeeb00fa45a1c94b859f779de4d017b906f9bc919c
parent28b552bf6b7a0a79187db2887b25cbfa42cbf98b
st_glsl_to_tgsi: add support for prim id fragment shader input

For GLSL 1.50 we can get frag shaders with primitive id as an
input, add support to the translator for this.

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