tgsi: new comments, assertion for executing TGSI_OPCODE_CAL

This commit is contained in:
Brian Paul 2015-06-13 07:58:53 -06:00
parent 2ce2b80c6f
commit 12c1c0706d
1 changed files with 5 additions and 1 deletions

View File

@ -4401,8 +4401,12 @@ exec_instruction(
mach->BreakStack[mach->BreakStackTop++] = mach->BreakType;
mach->FuncStack[mach->FuncStackTop++] = mach->FuncMask;
/* Finally, jump to the subroutine */
/* Finally, jump to the subroutine. The label is a pointer
* (an instruction number) to the BGNSUB instruction.
*/
*pc = inst->Label.Label;
assert(mach->Instructions[*pc].Instruction.Opcode
== TGSI_OPCODE_BGNSUB);
}
break;