tgsi/sse2: Fix ARL instruction.
authorMichal Krol <michal@vmware.com>
Thu, 9 Apr 2009 20:47:06 +0000 (22:47 +0200)
committerMichal Krol <michal@vmware.com>
Thu, 9 Apr 2009 20:51:15 +0000 (22:51 +0200)
src/gallium/auxiliary/tgsi/tgsi_sse2.c

index e399b9b9d5b9f43691079235d9b26ed7001e77d3..98994d8494036562ff05b4e0678892f989e8922e 100644 (file)
@@ -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 );
       }