glsl: Validate that base types match for a number of binops.
authorKenneth Graunke <kenneth@whitecape.org>
Mon, 7 Apr 2014 05:45:43 +0000 (22:45 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Tue, 8 Apr 2014 07:02:01 +0000 (00:02 -0700)
commit40d9337406709d0e5e143c51dc5d57921a91aab9
treeef1fe12a04e6f42d0c6066539b6463ad8a901567
parente14b93371cc8394bd69622f6b60cfdf8ba177360
glsl: Validate that base types match for a number of binops.

The IR is not supposed to support implicit type conversions; we just
failed to validate it.

Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Matt Turner <mattst88@gmail.com>
src/glsl/ir_validate.cpp