From: Eric Anholt Date: Tue, 22 Dec 2009 22:43:11 +0000 (-0800) Subject: mesa: remove gratuitous stores I added in remove_instructions. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=2515ccaf244d3a2c5f16189737a04f44f698fbeb;p=mesa.git mesa: remove gratuitous stores I added in remove_instructions. --- diff --git a/src/mesa/shader/prog_optimize.c b/src/mesa/shader/prog_optimize.c index 4fe351251e8..83d119e031e 100644 --- a/src/mesa/shader/prog_optimize.c +++ b/src/mesa/shader/prog_optimize.c @@ -111,7 +111,6 @@ remove_instructions(struct gl_program *prog, const GLboolean *removeFlags) if (removeCount > 0) { GLint removeStart = removeEnd - removeCount + 1; _mesa_delete_instructions(prog, removeStart, removeCount); - removeStart = removeCount = 0; /* reset removal info */ } return totalRemoved; }