diff options
author | Timothy Arceri <[email protected]> | 2016-11-22 20:24:33 +1100 |
---|---|---|
committer | Timothy Arceri <[email protected]> | 2017-01-19 17:05:26 +1100 |
commit | 4d65f68a9bd225133897bc56c89a0fa9baf6d672 (patch) | |
tree | 65c5d9ee0283d14922df351d9ea80561e218c3bf /src/mesa/main | |
parent | e603cf18415adba5f9e879aba3c1146e952eb688 (diff) |
mesa/glsl: move TransformFeedbackBufferStride to gl_shader
Here we remove the single use of this field in gl_linked_shader
which allows us to move the field out of gl_shader_info
While we are at it we rewrite link_xfb_stride_layout_qualifiers()
to be more clear.
Reviewed-by: Lionel Landwerlin <[email protected]>
Diffstat (limited to 'src/mesa/main')
-rw-r--r-- | src/mesa/main/mtypes.h | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/src/mesa/main/mtypes.h b/src/mesa/main/mtypes.h index d036958f9d0..f04ec51d52c 100644 --- a/src/mesa/main/mtypes.h +++ b/src/mesa/main/mtypes.h @@ -2242,11 +2242,6 @@ struct gl_subroutine_function */ struct gl_shader_info { - struct { - /** Global xfb_stride out qualifier if any */ - GLuint BufferStride[MAX_FEEDBACK_BUFFERS]; - } TransformFeedback; - /** * Tessellation Control shader state from layout qualifiers. */ @@ -2436,6 +2431,9 @@ struct gl_shader bool origin_upper_left; bool pixel_center_integer; + /** Global xfb_stride out qualifier if any */ + GLuint TransformFeedbackBufferStride[MAX_FEEDBACK_BUFFERS]; + struct gl_shader_info info; }; |