glsl: Check for zero vectors in ir_binop_dot
authorMatt Turner <mattst88@gmail.com>
Mon, 4 Jun 2012 20:17:12 +0000 (16:17 -0400)
committerMatt Turner <mattst88@gmail.com>
Tue, 12 Jun 2012 22:51:25 +0000 (18:51 -0400)
commitd7bef19c7ff40f0b83a42fdb8509eed3ad1e40a3
treec3fbdadc57224ec7285228f84845f0a284fff30a
parent82ce93a8fdcb18b17263a388fa0bd8dbc1889857
glsl: Check for zero vectors in ir_binop_dot

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/glsl/opt_algebraic.cpp