glsl: Move precision handling to be part of qualifier handling.
authorKenneth Graunke <kenneth@whitecape.org>
Mon, 15 Jul 2013 22:58:29 +0000 (15:58 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Thu, 18 Jul 2013 23:57:23 +0000 (16:57 -0700)
commit6eec502e84f2b4f6118544e78d2e97928618ba0f
tree4038419dc9b63470ead127b85d0950186660dce5
parent308d4c71466af7ad5cbb99f8b4fddd743f2a2b25
glsl: Move precision handling to be part of qualifier handling.

This is necessary for the parser to be able to accept precision
qualifiers not immediately adjacent to the type, such as "const highp
inout float foo".

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