st/mesa: stop making use of InterpQualifier array
authorTimothy Arceri <timothy.arceri@collabora.com>
Fri, 14 Oct 2016 09:06:56 +0000 (20:06 +1100)
committerTimothy Arceri <timothy.arceri@collabora.com>
Wed, 26 Oct 2016 03:29:36 +0000 (14:29 +1100)
commit20c0e67501350952191b70c907c26019e5722243
treefc3d29862abe85a1792a02a2d87edcd0a0a06be0
parentcdafd499cc18ab1b4f96fb5fe6537d9c24f5757a
st/mesa: stop making use of InterpQualifier array

A following patch is going to merge the gl_fragment_program struct into
a common gl_program and we want to avoid all stages having this array.

V2: use TGSI_INTERPOLATE_COUNT as the temporary placeholder. Suggested by
Marek.

Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
src/mesa/state_tracker/st_glsl_to_tgsi.cpp
src/mesa/state_tracker/st_program.c