diff options
author | Timothy Arceri <[email protected]> | 2016-11-22 18:25:20 +1100 |
---|---|---|
committer | Timothy Arceri <[email protected]> | 2017-01-19 17:05:26 +1100 |
commit | 66a6050ad8a56d4d04624870e6845579bd0581b2 (patch) | |
tree | 5c1ab139a67ea03330a16576ce2c4c72a1e4e726 /src/mesa/main | |
parent | cc7ecce2533667e4ce958ffc3e128974ec2d5b15 (diff) |
mesa/glsl: move redeclares_gl_fragcoord to gl_shader
This is never used in gl_linked_shader other than as a temp
during linking so just use a temp instead.
Reviewed-by: Lionel Landwerlin <[email protected]>
Diffstat (limited to 'src/mesa/main')
-rw-r--r-- | src/mesa/main/mtypes.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mesa/main/mtypes.h b/src/mesa/main/mtypes.h index cb35aa1c95c..cbf2e958113 100644 --- a/src/mesa/main/mtypes.h +++ b/src/mesa/main/mtypes.h @@ -2243,7 +2243,6 @@ struct gl_subroutine_function struct gl_shader_info { bool uses_gl_fragcoord; - bool redeclares_gl_fragcoord; bool PostDepthCoverage; bool InnerCoverage; @@ -2435,6 +2434,8 @@ struct gl_shader bool ARB_fragment_coord_conventions_enable; + bool redeclares_gl_fragcoord; + struct gl_shader_info info; }; |