Module: Mesa Branch: master Commit: acd7c21541110d7ae6b9e63647391f65946e5c5d URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=acd7c21541110d7ae6b9e63647391f65946e5c5d
Author: Eric Anholt <[email protected]> Date: Tue Sep 7 14:02:39 2010 -0700 ir_to_mesa: Fix warning in last commit. I swear there was some git option for "don't push things when you've got uncommitted changes", but I can't find it now. --- 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 b48b991..1a260c7 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 { _______________________________________________ mesa-commit mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/mesa-commit
