gallium: introduce GLSL based interpolation rules. (v2)
authorDave Airlie <airlied@redhat.com>
Mon, 9 Jan 2012 15:57:02 +0000 (15:57 +0000)
committerDave Airlie <airlied@redhat.com>
Tue, 10 Jan 2012 11:54:44 +0000 (11:54 +0000)
commit67e3cbf1632e361220234013147331e4618b70cb
tree9b8499ffa141c376cb3ce706c0bc67d7cabafa70
parent5a7c3433521f50ee06883728f86bc4bbf1bf479b
gallium: introduce GLSL based interpolation rules. (v2)

This introduces an unspecified interpolation paramter that is only allowed for
color semantics, so a specified GLSL interpolation will override the ShadeModel
specified interpolation, but not vice-versa.

This fixes a lot of the interpolation tests in piglit.

v2: rename from unspecified to color

Signed-off-by: Dave Airlie <airlied@redhat.com>
src/gallium/auxiliary/tgsi/tgsi_exec.c
src/gallium/auxiliary/tgsi/tgsi_exec.h
src/gallium/auxiliary/tgsi/tgsi_strings.c
src/gallium/drivers/softpipe/sp_quad_fs.c
src/gallium/drivers/softpipe/sp_state_derived.c
src/gallium/include/pipe/p_shader_tokens.h
src/mesa/state_tracker/st_program.c