summaryrefslogtreecommitdiffstats
path: root/src/mesa/pipe
diff options
context:
space:
mode:
authorBrian <[email protected]>2007-10-09 14:52:26 -0600
committerBrian <[email protected]>2007-10-09 14:52:26 -0600
commit342bc50c3d8765ea4ab50aa7d77df5c86c478c61 (patch)
tree8e66ab668ff2724f193fb3fed1e4220eaf6b4e08 /src/mesa/pipe
parentaec1f8e4f8315df23dc51a0b5a5fad90a03be851 (diff)
update some comments
Diffstat (limited to 'src/mesa/pipe')
-rw-r--r--src/mesa/pipe/tgsi/exec/tgsi_exec.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mesa/pipe/tgsi/exec/tgsi_exec.c b/src/mesa/pipe/tgsi/exec/tgsi_exec.c
index 6bbff76a872..fda5584cf39 100644
--- a/src/mesa/pipe/tgsi/exec/tgsi_exec.c
+++ b/src/mesa/pipe/tgsi/exec/tgsi_exec.c
@@ -2036,7 +2036,7 @@ exec_instruction(
if (mach->ExecMask) {
/* do the call */
- /* push Cond, Loop, Cont stacks */
+ /* push the Cond, Loop, Cont stacks */
assert(mach->CondStackTop < TGSI_EXEC_MAX_COND_NESTING);
mach->CondStack[mach->CondStackTop++] = mach->CondMask;
assert(mach->LoopStackTop < TGSI_EXEC_MAX_LOOP_NESTING);
@@ -2054,13 +2054,13 @@ exec_instruction(
break;
case TGSI_OPCODE_RET:
- /* XXX examine ExecMask to determine if we should _really_ return */
- /* pop Cond, Loop, Cont stacks */
mach->FuncMask &= ~mach->ExecMask;
UPDATE_EXEC_MASK(mach);
if (mach->ExecMask == 0x0) {
/* really return now (otherwise, keep executing */
+
+ /* pop the Cond, Loop, Cont stacks */
assert(mach->CondStackTop > 0);
mach->CondMask = mach->CondStack[--mach->CondStackTop];
assert(mach->LoopStackTop > 0);