summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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");
- }
}
}