summaryrefslogtreecommitdiffstats
path: root/src/mesa/program/prog_optimize.c
diff options
context:
space:
mode:
authorMatt Turner <mattst88@gmail.com>2016-02-27 13:44:50 -0800
committerMatt Turner <mattst88@gmail.com>2016-03-01 11:41:29 -0800
commita0c3650ad359df8f770eee042d60359492df3702 (patch)
tree6dd39ef3fc71bcce75e9e7a37b039fa721b22381 /src/mesa/program/prog_optimize.c
parent6b1fb4862e0b1b338eb78e91aa862df889d4529a (diff)
downloadexternal_mesa3d-a0c3650ad359df8f770eee042d60359492df3702.zip
external_mesa3d-a0c3650ad359df8f770eee042d60359492df3702.tar.gz
external_mesa3d-a0c3650ad359df8f770eee042d60359492df3702.tar.bz2
program: Remove RelAddr2 support.
Looks like more never-used crap from the first geometry shader attempt. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Ian Romanick <ian.d.romanick@intel.com> Acked-by: Brian Paul <brianp@vmware.com>
Diffstat (limited to 'src/mesa/program/prog_optimize.c')
-rw-r--r--src/mesa/program/prog_optimize.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/mesa/program/prog_optimize.c b/src/mesa/program/prog_optimize.c
index f9e9035..9f7d0e3 100644
--- a/src/mesa/program/prog_optimize.c
+++ b/src/mesa/program/prog_optimize.c
@@ -465,8 +465,6 @@ can_downward_mov_be_modifed(const struct prog_instruction *mov)
mov->SrcReg[0].RelAddr == 0 &&
mov->SrcReg[0].Negate == 0 &&
mov->SrcReg[0].Abs == 0 &&
- mov->SrcReg[0].HasIndex2 == 0 &&
- mov->SrcReg[0].RelAddr2 == 0 &&
mov->DstReg.RelAddr == 0 &&
mov->DstReg.CondMask == COND_TR;
}