summaryrefslogtreecommitdiffstats
path: root/src/mesa/program/prog_optimize.c
diff options
context:
space:
mode:
authorEric Anholt <eric@anholt.net>2012-10-09 16:59:32 -0700
committerEric Anholt <eric@anholt.net>2012-10-15 11:53:24 -0700
commit8058a70763ff9e5b91eac8bd177c96679b5dd957 (patch)
tree5a0a0a955eefe2aaed2653942584fe95b1a2cadf /src/mesa/program/prog_optimize.c
parentcc763f0f3f5558c4ce055e54da6ebd2279009322 (diff)
downloadexternal_mesa3d-8058a70763ff9e5b91eac8bd177c96679b5dd957.zip
external_mesa3d-8058a70763ff9e5b91eac8bd177c96679b5dd957.tar.gz
external_mesa3d-8058a70763ff9e5b91eac8bd177c96679b5dd957.tar.bz2
mesa: Remove prog_instruction.h field for never-supported NV_vertex_program3.
Reviewed-by: Brian Paul <brianp@vmware.com>
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 78d09f1..c1013a5 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;