From: Eric Anholt Date: Tue, 7 Sep 2010 21:02:39 +0000 (-0700) Subject: ir_to_mesa: Fix warning in last commit. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=acd7c21541110d7ae6b9e63647391f65946e5c5d;p=mesa.git 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. --- 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 {