glsl: Revert "fix conversions from uint to bool and from..."
authorKenneth Graunke <kenneth@whitecape.org>
Tue, 14 Jun 2011 19:40:09 +0000 (12:40 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Wed, 29 Jun 2011 23:07:12 +0000 (16:07 -0700)
commit3283e362e313f8a45fd6ee812efb737c0becc38c
treeff1bf0423b58f1dc0098722929f188befa018903
parent20ef96c7ff3f17fbf97e0452a37553249b2b005c
glsl: Revert "fix conversions from uint to bool and from..."

Reverts commit f41e1db3273a31285360241c4342f0a403ee0b03
"fix conversions from uint to bool and from float/bool to uint"

f2i, b2i, and b2i should not accept uint types.  Use i2u and u2i.

Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Eric Anholt <eric@anholt.net>
src/glsl/ir_validate.cpp