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 5cb5564d503b444e9622695092ab871ca0be7a91..e1c0fca7bdd5abe25a78eb4dcc9ad2f24714f35c 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);