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/compiler/glsl/glsl_parser_extras.cpp | |
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/compiler/glsl/glsl_parser_extras.cpp')
-rw-r--r-- | src/compiler/glsl/glsl_parser_extras.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compiler/glsl/glsl_parser_extras.cpp b/src/compiler/glsl/glsl_parser_extras.cpp index a6b695c1a44..0e8f008fd1e 100644 --- a/src/compiler/glsl/glsl_parser_extras.cpp +++ b/src/compiler/glsl/glsl_parser_extras.cpp @@ -1704,7 +1704,7 @@ set_shader_inout_layout(struct gl_shader *shader, if (state->out_qualifier->out_xfb_stride[i]-> process_qualifier_constant(state, "xfb_stride", &xfb_stride, true)) { - shader->info.TransformFeedback.BufferStride[i] = xfb_stride; + shader->TransformFeedbackBufferStride[i] = xfb_stride; } } } |