mesa/glsl: move pixel_center_integer to gl_shader
authorTimothy Arceri <timothy.arceri@collabora.com>
Tue, 22 Nov 2016 08:47:48 +0000 (19:47 +1100)
committerTimothy Arceri <timothy.arceri@collabora.com>
Thu, 19 Jan 2017 06:05:26 +0000 (17:05 +1100)
commit3d41f4b9903b68b5a68eb3afc0c17143dbbb30f0
treed7e554f10ceac113982a156a28d816f5bc610132
parent0a9d102ddc3af65a136a936ff4fb02bcc15377c0
mesa/glsl: move pixel_center_integer to gl_shader

This is only used by gl_linked_shader as a temp during linking
so use a temp there instead.

Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
src/compiler/glsl/glsl_parser_extras.cpp
src/compiler/glsl/linker.cpp
src/mesa/main/mtypes.h