From: Brian Paul Date: Tue, 16 Dec 2008 22:39:14 +0000 (-0700) Subject: tgsi: use flr(), not trunc() for ARL X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=3616fb08da8ef392db1d5ccab55b8eb9f6a6f32b;p=mesa.git tgsi: use flr(), not trunc() for ARL --- 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;