summaryrefslogtreecommitdiffstats
path: root/src/glsl/ir_validate.cpp
diff options
context:
space:
mode:
authorKenneth Graunke <[email protected]>2010-11-17 13:59:17 -0800
committerKenneth Graunke <[email protected]>2010-11-17 13:59:17 -0800
commit9935fe705df44bb633039ca74332cc0c126ccc30 (patch)
tree84b484f5f7a5fca90c05a84a7b28f4a6be0f64f7 /src/glsl/ir_validate.cpp
parentaf1cba2260c3546ba89d47c9612d66f513e69842 (diff)
glsl: Remove the ir_binop_cross opcode.
Diffstat (limited to 'src/glsl/ir_validate.cpp')
-rw-r--r--src/glsl/ir_validate.cpp6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/glsl/ir_validate.cpp b/src/glsl/ir_validate.cpp
index d22789f990a..77f48968b81 100644
--- a/src/glsl/ir_validate.cpp
+++ b/src/glsl/ir_validate.cpp
@@ -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;