summaryrefslogtreecommitdiffstats
path: root/src/gallium/auxiliary/tgsi/tgsi_sse2.c
diff options
context:
space:
mode:
authorMichal Krol <[email protected]>2009-04-09 22:47:06 +0200
committerMichal Krol <[email protected]>2009-04-09 22:51:15 +0200
commit790a18f2c2a4df78cf4b4f88e55036d54324497a (patch)
tree69e20cf52560b0906df0247753995784170656c2 /src/gallium/auxiliary/tgsi/tgsi_sse2.c
parentc54b2199759e688ae89530f39106557c762b2fa4 (diff)
tgsi/sse2: Fix ARL instruction.
Diffstat (limited to 'src/gallium/auxiliary/tgsi/tgsi_sse2.c')
-rw-r--r--src/gallium/auxiliary/tgsi/tgsi_sse2.c1
1 files changed, 1 insertions, 0 deletions
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 );
}