glsl2: Add new ir_constant::zero static method.
authorKenneth Graunke <kenneth@whitecape.org>
Wed, 21 Jul 2010 22:54:15 +0000 (15:54 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Wed, 28 Jul 2010 22:46:26 +0000 (15:46 -0700)
commitee9a3a51b61f0afe75b4b8b0c3025310140437ec
treee314dbfda4aa77b54675dfb07377d77a8b6e63a9
parent0c7b37c8367e72e7b4295cd249561e5c3079d161
glsl2: Add new ir_constant::zero static method.

This conveniently creates a zero value of whatever type you want.
src/glsl/ir.cpp
src/glsl/ir.h