convert OPCODE_END -> TGSI_OPCODE_RET
authorBrian <brian.paul@tungstengraphics.com>
Fri, 26 Oct 2007 19:02:40 +0000 (13:02 -0600)
committerBrian <brian.paul@tungstengraphics.com>
Fri, 26 Oct 2007 19:10:37 +0000 (13:10 -0600)
src/mesa/pipe/tgsi/mesa/mesa_to_tgsi.c

index 4fac61777c68adc17319492e6c33cd3a15387de7..6ce7ab9b71cb9ce9b3d42f366869215cb3195d61 100644 (file)
@@ -466,7 +466,7 @@ compile_instruction(
       fulldst->DstRegister.WriteMask &= TGSI_WRITEMASK_XYZ;\r
       break;\r
    case OPCODE_END:\r
-      fullinst->Instruction.Opcode = TGSI_OPCODE_END;\r
+      fullinst->Instruction.Opcode = TGSI_OPCODE_RET;\r
       break;\r
    default:\r
       assert( 0 );\r