glsl2: add case for ir_unop_noise

Silences a compiler warning.  Still need to add some assertions
for this case.
This commit is contained in:
Brian Paul
2010-09-14 09:15:19 -06:00
parent 2b04ead569
commit 1c0644e9da

View File

@@ -275,6 +275,10 @@ ir_validate::visit_leave(ir_expression *ir)
assert(ir->operands[0]->type == ir->type);
break;
case ir_unop_noise:
/* XXX what can we assert here? */
break;
case ir_binop_add:
case ir_binop_sub:
case ir_binop_mul: