summaryrefslogtreecommitdiffstats
path: root/src/mesa/program/prog_optimize.c
diff options
context:
space:
mode:
authorEric Anholt <[email protected]>2012-10-09 16:59:32 -0700
committerEric Anholt <[email protected]>2012-10-15 11:53:24 -0700
commit8058a70763ff9e5b91eac8bd177c96679b5dd957 (patch)
tree5a0a0a955eefe2aaed2653942584fe95b1a2cadf /src/mesa/program/prog_optimize.c
parentcc763f0f3f5558c4ce055e54da6ebd2279009322 (diff)
mesa: Remove prog_instruction.h field for never-supported NV_vertex_program3.
Reviewed-by: Brian Paul <[email protected]>
Diffstat (limited to 'src/mesa/program/prog_optimize.c')
-rw-r--r--src/mesa/program/prog_optimize.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/mesa/program/prog_optimize.c b/src/mesa/program/prog_optimize.c
index 78d09f1cbe1..c1013a5a2af 100644
--- a/src/mesa/program/prog_optimize.c
+++ b/src/mesa/program/prog_optimize.c
@@ -789,7 +789,6 @@ _mesa_remove_extra_moves(struct gl_program *prog)
if (prevInst->DstReg.File == PROGRAM_TEMPORARY &&
prevInst->DstReg.Index == id &&
prevInst->DstReg.RelAddr == 0 &&
- prevInst->DstReg.CondSrc == 0 &&
prevInst->DstReg.CondMask == COND_TR) {
const GLuint dst_mask = prevInst->DstReg.WriteMask;