ir_to_mesa: Fix up handling of void function returns.
authorEric Anholt <eric@anholt.net>
Tue, 27 Jul 2010 02:36:53 +0000 (19:36 -0700)
committerEric Anholt <eric@anholt.net>
Tue, 27 Jul 2010 02:41:39 +0000 (19:41 -0700)
commit576d01ad8c8b8aa57b4711c98d8e004d4f20fc0b
tree33e0e9e726855b9b1b3f6d0c8d44e4215916e3e7
parentc91809e1e4a4fa8884e6588159368ea32431ee0e
ir_to_mesa: Fix up handling of void function returns.

void functions have a type of glsl_type::void_type, not a null type.
src/mesa/program/ir_to_mesa.cpp