diff options
author | Timothy Arceri <tarceri@itsqueeze.com> | 2017-04-26 13:56:45 +1000 |
---|---|---|
committer | Timothy Arceri <tarceri@itsqueeze.com> | 2017-04-27 08:21:28 +1000 |
commit | f8a2d000460854b825a84550c6068c7d123edff9 (patch) | |
tree | be2781730be07dae7f7fd0ada7174bf660a34242 /src | |
parent | 52c76dbad39a96995624796b8363fed0ac065a18 (diff) |
glsl: remove duplicate validation
Varying types have already been validated in
apply_type_qualifier_to_variable() by this point.
Reviewed-by: Alejandro PiƱeiro <apinheiro@igalia.com>
Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/compiler/glsl/ast_to_hir.cpp | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/src/compiler/glsl/ast_to_hir.cpp b/src/compiler/glsl/ast_to_hir.cpp index 0ae87cb93ea9..ef6f6cc08d20 100644 --- a/src/compiler/glsl/ast_to_hir.cpp +++ b/src/compiler/glsl/ast_to_hir.cpp @@ -5035,21 +5035,6 @@ ast_declarator_list::hir(exec_list *instructions, /* From section 4.3.6 (Output variables) of the GLSL 4.40 spec: * - * It is a compile-time error to declare a vertex, tessellation - * evaluation, tessellation control, or geometry shader output - * that contains any of the following: - * - * * A Boolean type (bool, bvec2 ...) - * * An opaque type - */ - if (check_type->is_boolean() || check_type->contains_opaque()) - _mesa_glsl_error(&loc, state, - "%s shader output cannot have type %s", - _mesa_shader_stage_to_string(state->stage), - check_type->name); - - /* From section 4.3.6 (Output variables) of the GLSL 4.40 spec: - * * It is a compile-time error to declare a fragment shader output * that contains any of the following: * |