OSDN Git Service

ir_to_mesa: Don't assert that we can't assign matrices. It should work now.
authorEric Anholt <eric@anholt.net>
Thu, 8 Jul 2010 00:24:00 +0000 (17:24 -0700)
committerEric Anholt <eric@anholt.net>
Thu, 8 Jul 2010 00:27:04 +0000 (17:27 -0700)
src/mesa/shader/ir_to_mesa.cpp

index 5cb5564..e1c0fca 100644 (file)
@@ -1270,7 +1270,6 @@ ir_to_mesa_visitor::visit(ir_assignment *ir)
    struct ir_to_mesa_src_reg r;
    int i;
 
-   assert(!ir->lhs->type->is_matrix());
    assert(!ir->lhs->type->is_array());
    assert(ir->lhs->type->base_type != GLSL_TYPE_STRUCT);