tgsi: SWZ no longer aliases to MOV.
authorMichal Krol <michal@tungstengraphics.com>
Mon, 2 Jun 2008 09:39:59 +0000 (11:39 +0200)
committerMichal Krol <michal@tungstengraphics.com>
Mon, 2 Jun 2008 09:39:59 +0000 (11:39 +0200)
src/gallium/auxiliary/tgsi/exec/tgsi_exec.c
src/gallium/auxiliary/tgsi/exec/tgsi_sse2.c

index 6ba0949..6689c3f 100644 (file)
@@ -1477,7 +1477,7 @@ exec_instruction(
       break;
 
    case TGSI_OPCODE_MOV:
-   /* TGSI_OPCODE_SWZ */
+   case TGSI_OPCODE_SWZ:
       FOR_EACH_ENABLED_CHANNEL( *inst, chan_index ) {
          FETCH( &r[0], 0, chan_index );
          STORE( &r[0], 0, chan_index );
index a59e22b..cdce5ea 100755 (executable)
@@ -1190,7 +1190,7 @@ emit_instruction(
       break;
 
    case TGSI_OPCODE_MOV:
-   /* TGSI_OPCODE_SWZ */
+   case TGSI_OPCODE_SWZ:
       FOR_EACH_DST0_ENABLED_CHANNEL( *inst, chan_index ) {
          FETCH( func, *inst, 0, 0, chan_index );
          STORE( func, *inst, 0, 0, chan_index );