OSDN Git Service

st/mesa: get interpolation location at translation time
authorTimothy Arceri <timothy.arceri@collabora.com>
Mon, 17 Oct 2016 23:47:14 +0000 (10:47 +1100)
committerTimothy Arceri <timothy.arceri@collabora.com>
Wed, 26 Oct 2016 03:29:36 +0000 (14:29 +1100)
commitd9d04373c1ba2ae3e20c6b507262ee3c88c4ab78
treec083b6227695e42682f149decbc5c66948eada84
parenta317b40d1d3f4f684f1601ba061dd806c080811b
st/mesa: get interpolation location at translation time

Rather then messing around creating bitfields and arrays to store
the interpolation location just translate it on the fly.

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_glsl_to_tgsi.h
src/mesa/state_tracker/st_program.c