summaryrefslogtreecommitdiffstats
path: root/src/glsl
diff options
context:
space:
mode:
authorTimothy Arceri <[email protected]>2016-01-15 13:45:49 +1100
committerTimothy Arceri <[email protected]>2016-01-18 13:09:28 +1100
commit9258d9f23daca39767a41abc47836991a5f189b4 (patch)
treee86e07ec0b315a8be8481c923d0252bff05df6d6 /src/glsl
parenteac2cece3143e07f0f229df15ab757b4f265b9a3 (diff)
glsl: remove special case for detecting stream duplicates
Any duplicates in a single declaration will already fail the generic duplicates test due to the explicit_stream flag being set. Reviewed-by: Samuel Iglesias Gonsálvez <[email protected]>
Diffstat (limited to 'src/glsl')
-rw-r--r--src/glsl/ast_type.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/glsl/ast_type.cpp b/src/glsl/ast_type.cpp
index 19ffe833164..1f675b28ae8 100644
--- a/src/glsl/ast_type.cpp
+++ b/src/glsl/ast_type.cpp
@@ -208,11 +208,6 @@ ast_type_qualifier::merge_qualifier(YYLTYPE *loc,
this->flags.q.stream = 1;
this->stream = state->out_qualifier->stream;
}
- } else {
- if (q.flags.q.explicit_stream) {
- _mesa_glsl_error(loc, state,
- "duplicate layout `stream' qualifier");
- }
}
}