projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
85dcc07
)
mesa: remove gratuitous stores I added in remove_instructions.
author
Eric Anholt
<eric@anholt.net>
Tue, 22 Dec 2009 22:43:11 +0000
(14:43 -0800)
committer
Eric Anholt
<eric@anholt.net>
Tue, 29 Dec 2009 02:51:18 +0000
(18:51 -0800)
src/mesa/shader/prog_optimize.c
patch
|
blob
|
history
diff --git
a/src/mesa/shader/prog_optimize.c
b/src/mesa/shader/prog_optimize.c
index 4fe351251e8c8dca85334451d7d96b8610f674e2..83d119e031ea24637dd8b830cdbe93453f3f3cf3 100644
(file)
--- 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;
}