summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Paul <brian.paul@tungstengraphics.com>2008-12-16 15:39:14 -0700
committerBrian Paul <brian.paul@tungstengraphics.com>2008-12-16 15:40:04 -0700
commit3616fb08da8ef392db1d5ccab55b8eb9f6a6f32b (patch)
tree508260ba52b5ced71c604293b9f0efc1c60c7aa8
parentd7e9b0e33a72d282e9326434daf01c61244d9ef1 (diff)
tgsi: use flr(), not trunc() for ARL
-rw-r--r--src/gallium/auxiliary/tgsi/tgsi_exec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/auxiliary/tgsi/tgsi_exec.c b/src/gallium/auxiliary/tgsi/tgsi_exec.c
index a2d2cfd1fc..989b6eec27 100644
--- a/src/gallium/auxiliary/tgsi/tgsi_exec.c
+++ b/src/gallium/auxiliary/tgsi/tgsi_exec.c
@@ -1797,7 +1797,7 @@ exec_instruction(
case TGSI_OPCODE_ARL:
FOR_EACH_ENABLED_CHANNEL( *inst, chan_index ) {
FETCH( &r[0], 0, chan_index );
- micro_trunc( &r[0], &r[0] );
+ micro_flr( &r[0], &r[0] );
STORE( &r[0], 0, chan_index );
}
break;