Handle GLSL 1.20 implicit type conversions.
authorEric Anholt <eric@anholt.net>
Wed, 19 May 2010 17:38:37 +0000 (10:38 -0700)
committerEric Anholt <eric@anholt.net>
Tue, 1 Jun 2010 22:15:04 +0000 (15:15 -0700)
commit336b4ad8c76a525a0df2f4b0fc1d67e86bc5db3f
tree14a9aa33b2f0e378fcaf59a242726a91c0b13c3e
parent60fa1a9458b012f39919a9c4070bfc4a0654d317
Handle GLSL 1.20 implicit type conversions.

We were nicely constructing a new expression for the implicit type
conversion, but then checking that the previous types matched instead
of the new expression's type.  Fixes errors in Regnum Online shaders.
ast_to_hir.cpp