diff options
author | Eric Anholt <eric@anholt.net> | 2009-12-22 14:43:11 -0800 |
---|---|---|
committer | Eric Anholt <eric@anholt.net> | 2009-12-28 18:51:18 -0800 |
commit | 2515ccaf244d3a2c5f16189737a04f44f698fbeb (patch) | |
tree | 94252c2975196fe4f49d8b83d95d79e7501773d6 /src/mesa/shader | |
parent | 85dcc070719ef6a6bcf65dc4996b1733f63912d8 (diff) | |
download | external_mesa3d-2515ccaf244d3a2c5f16189737a04f44f698fbeb.zip external_mesa3d-2515ccaf244d3a2c5f16189737a04f44f698fbeb.tar.gz external_mesa3d-2515ccaf244d3a2c5f16189737a04f44f698fbeb.tar.bz2 |
mesa: remove gratuitous stores I added in remove_instructions.
Diffstat (limited to 'src/mesa/shader')
-rw-r--r-- | src/mesa/shader/prog_optimize.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/mesa/shader/prog_optimize.c b/src/mesa/shader/prog_optimize.c index 4fe3512..83d119e 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; } |