mesa/st: get interpolation mode from the fragment shader.
authorDave Airlie <airlied@redhat.com>
Fri, 28 Oct 2011 16:18:15 +0000 (17:18 +0100)
committerDave Airlie <airlied@redhat.com>
Sat, 29 Oct 2011 06:41:46 +0000 (07:41 +0100)
commit4dfee0011acb31f88889f298e4a355489889a542
tree3217cee93c3a179dbc0edcc327c331afb4eb6d1e
parent25620eb1d277c6b80edb136eaeca12532fcfd3ce
mesa/st: get interpolation mode from the fragment shader.

With the recent changes to interpolation stuff, we can now get the value
direct from the program instead of just being fail.

fixes some of the glsl-1.30 interpolation tests with softpipe

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