From acd7c21541110d7ae6b9e63647391f65946e5c5d Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Tue, 7 Sep 2010 14:02:39 -0700 Subject: [PATCH] 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 file changed, 1 insertion(+), 1 deletion(-) 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 { -- 2.30.2