summaryrefslogtreecommitdiffstats
path: root/src/mesa
diff options
context:
space:
mode:
authorTimothy Arceri <[email protected]>2016-11-22 18:50:03 +1100
committerTimothy Arceri <[email protected]>2017-01-19 17:05:26 +1100
commit0a9d102ddc3af65a136a936ff4fb02bcc15377c0 (patch)
treea34531b73dc508062cf25ad82d9c675aca65803b /src/mesa
parentceeedb9bb0f935569f4afdfef716154f612298e2 (diff)
mesa/glsl: move origin_upper_left 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.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/mesa/main/mtypes.h b/src/mesa/main/mtypes.h
index 5548827a992..cf06674ebfe 100644
--- a/src/mesa/main/mtypes.h
+++ b/src/mesa/main/mtypes.h
@@ -2245,10 +2245,6 @@ struct gl_shader_info
bool PostDepthCoverage;
bool InnerCoverage;
- /**
- * Fragment shader state from GLSL 1.50 layout qualifiers.
- */
- bool origin_upper_left;
bool pixel_center_integer;
struct {
@@ -2436,6 +2432,11 @@ struct gl_shader
bool redeclares_gl_fragcoord;
bool uses_gl_fragcoord;
+ /**
+ * Fragment shader state from GLSL 1.50 layout qualifiers.
+ */
+ bool origin_upper_left;
+
struct gl_shader_info info;
};