summaryrefslogtreecommitdiffstats
path: root/src/mesa
diff options
context:
space:
mode:
authorTimothy Arceri <[email protected]>2016-11-22 18:37:06 +1100
committerTimothy Arceri <[email protected]>2017-01-19 17:05:26 +1100
commitceeedb9bb0f935569f4afdfef716154f612298e2 (patch)
treece9c311a1658bcf58b9a9c8f22ea6be803de1447 /src/mesa
parent66a6050ad8a56d4d04624870e6845579bd0581b2 (diff)
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 <[email protected]>
Diffstat (limited to 'src/mesa')
-rw-r--r--src/mesa/main/mtypes.h2
1 files changed, 1 insertions, 1 deletions
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;
};