diff options
author | Brian <[email protected]> | 2007-10-03 16:34:04 -0600 |
---|---|---|
committer | Brian <[email protected]> | 2007-10-03 16:34:04 -0600 |
commit | 1a69db9d2dfae16df5aa606ada7d631d98944449 (patch) | |
tree | 62a901a26359fb50115e14b4c6b25f7656a419e9 | |
parent | 68c4254d757012cbb5994d3b55769eb250747fce (diff) |
use different temps in exec_tex() for bias
-rw-r--r-- | src/mesa/pipe/tgsi/exec/tgsi_exec.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/mesa/pipe/tgsi/exec/tgsi_exec.c b/src/mesa/pipe/tgsi/exec/tgsi_exec.c index 6116db8dcba..52848a2a737 100644 --- a/src/mesa/pipe/tgsi/exec/tgsi_exec.c +++ b/src/mesa/pipe/tgsi/exec/tgsi_exec.c @@ -1230,7 +1230,7 @@ exec_tex(struct tgsi_exec_machine *mach, if (biasLod) { FETCH(&r[1], 0, CHAN_W); - lodBias = r[1].f[0]; + lodBias = r[2].f[0]; } else lodBias = 0.0; @@ -1261,8 +1261,8 @@ exec_tex(struct tgsi_exec_machine *mach, } if (biasLod) { - FETCH(&r[1], 0, CHAN_W); - lodBias = r[1].f[0]; + FETCH(&r[2], 0, CHAN_W); + lodBias = r[2].f[0]; } else lodBias = 0.0; @@ -1295,8 +1295,8 @@ exec_tex(struct tgsi_exec_machine *mach, } if (biasLod) { - FETCH(&r[1], 0, CHAN_W); - lodBias = r[1].f[0]; + FETCH(&r[3], 0, CHAN_W); + lodBias = r[3].f[0]; } else lodBias = 0.0; |