projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1a18ebc
)
fix f/u mix-up in micro_trunc()
author
Brian
<brian.paul@tungstengraphics.com>
Wed, 3 Oct 2007 15:55:36 +0000
(09:55 -0600)
committer
Brian
<brian.paul@tungstengraphics.com>
Wed, 3 Oct 2007 19:50:11 +0000
(13:50 -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 28211c950733475a71cf9f2bd9a0cf1f3ebbd409..c0752237280a7d75ede97593a207dd85f972b566 100644
(file)
--- a/
src/mesa/pipe/tgsi/exec/tgsi_exec.c
+++ b/
src/mesa/pipe/tgsi/exec/tgsi_exec.c
@@
-809,10
+809,10
@@
micro_trunc(
union tgsi_exec_channel *dst,
const union tgsi_exec_channel *src0 )
{
- dst->f[0] = (float) (int) src0->
u
[0];
- dst->f[1] = (float) (int) src0->
u
[1];
- dst->f[2] = (float) (int) src0->
u
[2];
- dst->f[3] = (float) (int) src0->
u
[3];
+ dst->f[0] = (float) (int) src0->
f
[0];
+ dst->f[1] = (float) (int) src0->
f
[1];
+ dst->f[2] = (float) (int) src0->
f
[2];
+ dst->f[3] = (float) (int) src0->
f
[3];
}
static void