convert Mesa OPCODE_END to TGSI_OPCODE_END, not TGSI_OPCOD_RET
authorBrian <brian.paul@tungstengraphics.com>
Wed, 19 Dec 2007 18:50:50 +0000 (11:50 -0700)
committerBrian <brian.paul@tungstengraphics.com>
Wed, 19 Dec 2007 20:16:36 +0000 (13:16 -0700)
src/mesa/state_tracker/st_mesa_to_tgsi.c

index c8b76978f1272f8007e556ac561a39b94261fae5..470cef8e8542b976517d3c7cd58ef9f32692e48d 100644 (file)
@@ -499,7 +499,7 @@ compile_instruction(
       fulldst->DstRegister.WriteMask &= TGSI_WRITEMASK_XYZ;
       break;
    case OPCODE_END:
-      fullinst->Instruction.Opcode = TGSI_OPCODE_RET;
+      fullinst->Instruction.Opcode = TGSI_OPCODE_END;
       break;
    default:
       assert( 0 );