summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrian <[email protected]>2007-12-19 11:50:50 -0700
committerBrian <[email protected]>2007-12-19 13:16:36 -0700
commit1575763a6f57d1f13c707b709f188b0617c8955a (patch)
treee994188d6ac0ca971475da9f03e37f33fab61dc1
parent127ab73b380d9c26974d19062e3e16758005bd80 (diff)
convert Mesa OPCODE_END to TGSI_OPCODE_END, not TGSI_OPCOD_RET
-rw-r--r--src/mesa/state_tracker/st_mesa_to_tgsi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/state_tracker/st_mesa_to_tgsi.c b/src/mesa/state_tracker/st_mesa_to_tgsi.c
index c8b76978f12..470cef8e854 100644
--- a/src/mesa/state_tracker/st_mesa_to_tgsi.c
+++ b/src/mesa/state_tracker/st_mesa_to_tgsi.c
@@ -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 );