OSDN Git Service

mesa/glsl: move uses_gl_fragcoord to gl_shader
authorTimothy Arceri <timothy.arceri@collabora.com>
Tue, 22 Nov 2016 07:37:06 +0000 (18:37 +1100)
committerTimothy Arceri <timothy.arceri@collabora.com>
Thu, 19 Jan 2017 06:05:26 +0000 (17:05 +1100)
commitceeedb9bb0f935569f4afdfef716154f612298e2
treece9c311a1658bcf58b9a9c8f22ea6be803de1447
parent66a6050ad8a56d4d04624870e6845579bd0581b2
mesa/glsl: move uses_gl_fragcoord 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