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 6ba0949183552ed947434c3dd8fd96506db67e2f..6689c3f1fb21146b7c11a913465973b0c75fa8ab 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 a59e22b6ea8eee393879575cc6c893ec264f08bf..cdce5ea9c522f42f032168d7ae9456f6523b8441 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 );