tgsi: SWZ no longer aliases to MOV.

This commit is contained in:
Michal Krol 2008-06-02 11:39:59 +02:00
parent 837d49a84e
commit c6ae627fdc
2 changed files with 2 additions and 2 deletions

View 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 );

View file

@ -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 );