From ceeedb9bb0f935569f4afdfef716154f612298e2 Mon Sep 17 00:00:00 2001 From: Timothy Arceri Date: Tue, 22 Nov 2016 18:37:06 +1100 Subject: 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 --- src/mesa/main/mtypes.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/mesa/main') diff --git a/src/mesa/main/mtypes.h b/src/mesa/main/mtypes.h index cbf2e958113..5548827a992 100644 --- a/src/mesa/main/mtypes.h +++ b/src/mesa/main/mtypes.h @@ -2242,7 +2242,6 @@ struct gl_subroutine_function */ struct gl_shader_info { - bool uses_gl_fragcoord; bool PostDepthCoverage; bool InnerCoverage; @@ -2435,6 +2434,7 @@ struct gl_shader bool ARB_fragment_coord_conventions_enable; bool redeclares_gl_fragcoord; + bool uses_gl_fragcoord; struct gl_shader_info info; }; -- cgit v1.2.3