diff options
author | Timothy Arceri <[email protected]> | 2016-11-22 19:47:48 +1100 |
---|---|---|
committer | Timothy Arceri <[email protected]> | 2017-01-19 17:05:26 +1100 |
commit | 3d41f4b9903b68b5a68eb3afc0c17143dbbb30f0 (patch) | |
tree | d7e554f10ceac113982a156a28d816f5bc610132 /src/mesa/main | |
parent | 0a9d102ddc3af65a136a936ff4fb02bcc15377c0 (diff) |
mesa/glsl: move pixel_center_integer 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/main')
-rw-r--r-- | src/mesa/main/mtypes.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/mesa/main/mtypes.h b/src/mesa/main/mtypes.h index cf06674ebfe..7b8be09d778 100644 --- a/src/mesa/main/mtypes.h +++ b/src/mesa/main/mtypes.h @@ -2245,8 +2245,6 @@ struct gl_shader_info bool PostDepthCoverage; bool InnerCoverage; - bool pixel_center_integer; - struct { /** Global xfb_stride out qualifier if any */ GLuint BufferStride[MAX_FEEDBACK_BUFFERS]; @@ -2436,6 +2434,7 @@ struct gl_shader * Fragment shader state from GLSL 1.50 layout qualifiers. */ bool origin_upper_left; + bool pixel_center_integer; struct gl_shader_info info; }; |