diff options
-rw-r--r-- | src/mesa/program/ir_to_mesa.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/program/ir_to_mesa.cpp b/src/mesa/program/ir_to_mesa.cpp index b48b9912a5c..1a260c7e536 100644 --- a/src/mesa/program/ir_to_mesa.cpp +++ b/src/mesa/program/ir_to_mesa.cpp @@ -892,7 +892,7 @@ ir_to_mesa_visitor::visit(ir_variable *ir) if (storage->index == -1) { storage->index = index; } else { - assert(index == (storage->index + + assert(index == ((int)storage->index + a * statevar->num_elements + i)); } } else { |