glsl: Remove the ir_binop_cross opcode.

This commit is contained in:
Kenneth Graunke
2010-11-17 13:59:17 -08:00
parent af1cba2260
commit 9935fe705d
7 changed files with 8 additions and 54 deletions

View File

@@ -372,12 +372,6 @@ ir_validate::visit_leave(ir_expression *ir)
assert(ir->operands[0]->type->is_vector());
assert(ir->operands[0]->type == ir->operands[1]->type);
break;
case ir_binop_cross:
assert(ir->operands[0]->type == glsl_type::vec3_type);
assert(ir->operands[1]->type == glsl_type::vec3_type);
assert(ir->type == glsl_type::vec3_type);
break;
}
return visit_continue;