mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-24 04:30:10 +01:00
update some comments
This commit is contained in:
parent
aec1f8e4f8
commit
342bc50c3d
1 changed files with 3 additions and 3 deletions
|
|
@ -2036,7 +2036,7 @@ exec_instruction(
|
||||||
if (mach->ExecMask) {
|
if (mach->ExecMask) {
|
||||||
/* do the call */
|
/* do the call */
|
||||||
|
|
||||||
/* push Cond, Loop, Cont stacks */
|
/* push the Cond, Loop, Cont stacks */
|
||||||
assert(mach->CondStackTop < TGSI_EXEC_MAX_COND_NESTING);
|
assert(mach->CondStackTop < TGSI_EXEC_MAX_COND_NESTING);
|
||||||
mach->CondStack[mach->CondStackTop++] = mach->CondMask;
|
mach->CondStack[mach->CondStackTop++] = mach->CondMask;
|
||||||
assert(mach->LoopStackTop < TGSI_EXEC_MAX_LOOP_NESTING);
|
assert(mach->LoopStackTop < TGSI_EXEC_MAX_LOOP_NESTING);
|
||||||
|
|
@ -2054,13 +2054,13 @@ exec_instruction(
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case TGSI_OPCODE_RET:
|
case TGSI_OPCODE_RET:
|
||||||
/* XXX examine ExecMask to determine if we should _really_ return */
|
|
||||||
/* pop Cond, Loop, Cont stacks */
|
|
||||||
mach->FuncMask &= ~mach->ExecMask;
|
mach->FuncMask &= ~mach->ExecMask;
|
||||||
UPDATE_EXEC_MASK(mach);
|
UPDATE_EXEC_MASK(mach);
|
||||||
|
|
||||||
if (mach->ExecMask == 0x0) {
|
if (mach->ExecMask == 0x0) {
|
||||||
/* really return now (otherwise, keep executing */
|
/* really return now (otherwise, keep executing */
|
||||||
|
|
||||||
|
/* pop the Cond, Loop, Cont stacks */
|
||||||
assert(mach->CondStackTop > 0);
|
assert(mach->CondStackTop > 0);
|
||||||
mach->CondMask = mach->CondStack[--mach->CondStackTop];
|
mach->CondMask = mach->CondStack[--mach->CondStackTop];
|
||||||
assert(mach->LoopStackTop > 0);
|
assert(mach->LoopStackTop > 0);
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue