glsl: Refactor parameter qualifier handling.
authorKenneth Graunke <kenneth@whitecape.org>
Mon, 15 Jul 2013 18:45:24 +0000 (11:45 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Thu, 18 Jul 2013 23:57:22 +0000 (16:57 -0700)
commita4d15a3cd963dee6beb0b6d8a4c25b371ea9a289
treebf474f4be877d9e57d22e49cc27b696f64e4106b
parent83fe4f7019283851d56df14f47a5d5c01d6b6b9e
glsl: Refactor parameter qualifier handling.

"Parameter direction qualifier" is a new term I invented just now; it's
not part of any GLSL specification.

This paves the way handling multiple parameter qualifiers, in any order,
as required by GLSL 4.20/ARB_shading_language_420pack.

Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Matt Turner <mattst88@gmail.com>
src/glsl/glsl_parser.yy