projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
68c4254
)
use different temps in exec_tex() for bias
author
Brian
<brian.paul@tungstengraphics.com>
Wed, 3 Oct 2007 22:34:04 +0000
(16:34 -0600)
committer
Brian
<brian.paul@tungstengraphics.com>
Wed, 3 Oct 2007 22:34:04 +0000
(16:34 -0600)
src/mesa/pipe/tgsi/exec/tgsi_exec.c
patch
|
blob
|
history
diff --git
a/src/mesa/pipe/tgsi/exec/tgsi_exec.c
b/src/mesa/pipe/tgsi/exec/tgsi_exec.c
index 6116db8dcbae99008c58b000a50b254d33e501f8..52848a2a7372538a472e155643155d2ce8d41de0 100644
(file)
--- 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;