glsl: Extend ir_constant::zero to handle more types.
authorOlivier Galibert <galibert@pobox.com>
Wed, 2 May 2012 21:11:37 +0000 (23:11 +0200)
committerKenneth Graunke <kenneth@whitecape.org>
Tue, 8 May 2012 19:55:38 +0000 (12:55 -0700)
commit27a198388ed78c83d9a255efc0fb2294d985f3ad
treebb788815b74e34a7e9f5a16c5fddb020286f14be
parentf72e9b2041e294c8ac2258ff3f2b923c39cbef83
glsl: Extend ir_constant::zero to handle more types.

Signed-off-by: Olivier Galibert <galibert@pobox.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Eric Anholt <eric@anholt.net> [v1]
src/glsl/ir.cpp