glsl: Let the constructor figure out the types of switch-related expressions.
authorEric Anholt <eric@anholt.net>
Mon, 14 May 2012 15:39:54 +0000 (08:39 -0700)
committerEric Anholt <eric@anholt.net>
Thu, 17 May 2012 17:05:24 +0000 (10:05 -0700)
commit5d6ea16dfe99e1aba61c25a897b66951faab1a39
treeeb0fd2083ffa5dc41bcd0e9dd646fdb4097d0269
parent5462f3679ab7217d3a3be48365750801c7771237
glsl: Let the constructor figure out the types of switch-related expressions.

I noticed this while unindenting the code.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
src/glsl/ast_to_hir.cpp