diff options
author | Brian <brian.paul@tungstengraphics.com> | 2007-10-03 09:55:36 -0600 |
---|---|---|
committer | Brian <brian.paul@tungstengraphics.com> | 2007-10-03 13:50:11 -0600 |
commit | df235f33a6e851e0487755e9ad5f9d5cfd041c18 (patch) | |
tree | ab96f7b1d82045a73de316b089f982ec008d1a89 /src/mesa/pipe/tgsi | |
parent | 1a18ebc6b31ebb8e950b84790744dd5e3113f014 (diff) |
fix f/u mix-up in micro_trunc()
Diffstat (limited to 'src/mesa/pipe/tgsi')
-rw-r--r-- | src/mesa/pipe/tgsi/exec/tgsi_exec.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mesa/pipe/tgsi/exec/tgsi_exec.c b/src/mesa/pipe/tgsi/exec/tgsi_exec.c index 28211c9507..c075223728 100644 --- 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 |