diff options
author | Brian Paul <[email protected]> | 2008-12-16 15:39:14 -0700 |
---|---|---|
committer | Brian Paul <[email protected]> | 2008-12-16 15:40:04 -0700 |
commit | 3616fb08da8ef392db1d5ccab55b8eb9f6a6f32b (patch) | |
tree | 508260ba52b5ced71c604293b9f0efc1c60c7aa8 | |
parent | d7e9b0e33a72d282e9326434daf01c61244d9ef1 (diff) |
tgsi: use flr(), not trunc() for ARL
-rw-r--r-- | src/gallium/auxiliary/tgsi/tgsi_exec.c | 2 |
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 a2d2cfd1fcc..989b6eec27b 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; |