glsl: simplified ast_type_qualifier::merge_into_[in|out]_qualifier API
authorAndres Gomez <agomez@igalia.com>
Thu, 6 Oct 2016 22:52:08 +0000 (01:52 +0300)
committerAndres Gomez <agomez@igalia.com>
Fri, 25 Nov 2016 11:18:30 +0000 (13:18 +0200)
commit93f90d7795ba414c01ab6fe905f8b3f61eeaf7ef
tree000792678a152e6810f6f4573860c447aeeb48c3
parentbe54a58da3ee5485d18c04e1ccc0a1c6137a46a3
glsl: simplified ast_type_qualifier::merge_into_[in|out]_qualifier API

Since we modified the way in which multiple repetitions of the same
layout-qualifier-name in a single declaration collapse into the
ast_type_qualifier class, we can simplify the
merge_into_[in|out]_qualifier APIs through removing the create_node
parameter.

Reviewed-by: Timothy Arceri <timothy.arceri@collabora.com>
Signed-off-by: Andres Gomez <agomez@igalia.com>
src/compiler/glsl/ast.h
src/compiler/glsl/ast_type.cpp
src/compiler/glsl/glsl_parser.yy