From: Michal Krol Date: Thu, 9 Apr 2009 20:47:06 +0000 (+0200) Subject: tgsi/sse2: Fix ARL instruction. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=790a18f2c2a4df78cf4b4f88e55036d54324497a;p=mesa.git tgsi/sse2: Fix ARL instruction. --- diff --git a/src/gallium/auxiliary/tgsi/tgsi_sse2.c b/src/gallium/auxiliary/tgsi/tgsi_sse2.c index e399b9b9d5b..98994d84940 100644 --- a/src/gallium/auxiliary/tgsi/tgsi_sse2.c +++ b/src/gallium/auxiliary/tgsi/tgsi_sse2.c @@ -1477,6 +1477,7 @@ emit_instruction( case TGSI_OPCODE_ARL: FOR_EACH_DST0_ENABLED_CHANNEL( *inst, chan_index ) { FETCH( func, *inst, 0, 0, chan_index ); + emit_flr(func, 0); emit_f2it( func, 0 ); STORE( func, *inst, 0, 0, chan_index ); }