diff options
author | Timothy Arceri <[email protected]> | 2016-11-22 19:55:29 +1100 |
---|---|---|
committer | Timothy Arceri <[email protected]> | 2017-01-19 17:05:26 +1100 |
commit | e603cf18415adba5f9e879aba3c1146e952eb688 (patch) | |
tree | 0446d64bf7a6f38317a79401381cb2d5b764a100 /src/compiler | |
parent | 7983ed5f657e71a52735dbee046adcbe1a0ab373 (diff) |
glsl: exit loop early if we find xfb layout qualifers
Reviewed-by: Lionel Landwerlin <[email protected]>
Diffstat (limited to 'src/compiler')
-rw-r--r-- | src/compiler/glsl/link_varyings.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/compiler/glsl/link_varyings.cpp b/src/compiler/glsl/link_varyings.cpp index 5529e7a7700..6d54a111ea1 100644 --- a/src/compiler/glsl/link_varyings.cpp +++ b/src/compiler/glsl/link_varyings.cpp @@ -120,6 +120,7 @@ process_xfb_layout_qualifiers(void *mem_ctx, const gl_linked_shader *sh, for (unsigned j = 0; j < MAX_FEEDBACK_BUFFERS; j++) { if (sh->info.TransformFeedback.BufferStride[j]) { has_xfb_qualifiers = true; + break; } } |