summaryrefslogtreecommitdiffstats
path: root/src/mesa/program/prog_optimize.c
diff options
context:
space:
mode:
authorMatt Turner <[email protected]>2016-02-27 13:44:50 -0800
committerMatt Turner <[email protected]>2016-03-01 11:41:29 -0800
commita0c3650ad359df8f770eee042d60359492df3702 (patch)
tree6dd39ef3fc71bcce75e9e7a37b039fa721b22381 /src/mesa/program/prog_optimize.c
parent6b1fb4862e0b1b338eb78e91aa862df889d4529a (diff)
program: Remove RelAddr2 support.
Looks like more never-used crap from the first geometry shader attempt. Reviewed-by: Kenneth Graunke <[email protected]> Reviewed-by: Ian Romanick <[email protected]> Acked-by: Brian Paul <[email protected]>
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 f9e9035fc3e..9f7d0e30f18 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;
}