[Mesa-dev] [PATCH 48/53] glsl: exit loop early if we find xfb layout qualifers
Timothy Arceri
timothy.arceri at collabora.com
Tue Jan 3 02:43:52 UTC 2017
---
src/compiler/glsl/link_varyings.cpp | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/compiler/glsl/link_varyings.cpp b/src/compiler/glsl/link_varyings.cpp
index da51fd8..398e1da 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;
}
}
--
2.9.3
More information about the mesa-dev
mailing list