Mesa (glsl2): ir_to_mesa: Don't assert that we can't assign matrices. It should work now.
Eric Anholt
anholt at kemper.freedesktop.org
Thu Jul 8 00:27:40 UTC 2010
Module: Mesa
Branch: glsl2
Commit: 69676fc6a3ffbc2c99af541b954427c2e4966d68
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=69676fc6a3ffbc2c99af541b954427c2e4966d68
Author: Eric Anholt <eric at anholt.net>
Date: Wed Jul 7 17:24:00 2010 -0700
ir_to_mesa: Don't assert that we can't assign matrices. It should work now.
---
src/mesa/shader/ir_to_mesa.cpp | 1 -
1 files changed, 0 insertions(+), 1 deletions(-)
diff --git a/src/mesa/shader/ir_to_mesa.cpp b/src/mesa/shader/ir_to_mesa.cpp
index 5cb5564..e1c0fca 100644
--- a/src/mesa/shader/ir_to_mesa.cpp
+++ b/src/mesa/shader/ir_to_mesa.cpp
@@ -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);
More information about the mesa-commit
mailing list