summaryrefslogtreecommitdiffstats
path: root/src/mesa/shader/prog_execute.c
diff options
context:
space:
mode:
authorBrian <[email protected]>2007-03-28 14:23:33 -0600
committerBrian <[email protected]>2007-03-28 14:23:33 -0600
commit3e7d43cd480203f0f861345776454628df0d9a42 (patch)
tree1450c668c4dfa5cbe8ab2605812ca63f4f965249 /src/mesa/shader/prog_execute.c
parent1bbd69251b2738428795c06bb19c3a21797d6846 (diff)
Get rid of BRK0, BRK1, CONT0, CONT1 instructions.
Diffstat (limited to 'src/mesa/shader/prog_execute.c')
-rw-r--r--src/mesa/shader/prog_execute.c26
1 files changed, 0 insertions, 26 deletions
diff --git a/src/mesa/shader/prog_execute.c b/src/mesa/shader/prog_execute.c
index 7908976b60d..013d65ce869 100644
--- a/src/mesa/shader/prog_execute.c
+++ b/src/mesa/shader/prog_execute.c
@@ -727,32 +727,6 @@ _mesa_execute_program(GLcontext * ctx,
pc = inst->BranchTarget - 1;
}
break;
- case OPCODE_BRK0: /* Break if zero */
- /* fall-through */
- case OPCODE_CONT0: /* Continue if zero */
- {
- GLfloat a[4];
- fetch_vector1(&inst->SrcReg[0], machine, a);
- if (a[0] == 0.0) {
- /* take branch */
- /* Subtract 1 here since we'll do pc++ at end of for-loop */
- pc = inst->BranchTarget - 1;
- }
- }
- break;
- case OPCODE_BRK1: /* Break if non-zero */
- /* fall-through */
- case OPCODE_CONT1: /* Continue if non-zero */
- {
- GLfloat a[4];
- fetch_vector1(&inst->SrcReg[0], machine, a);
- if (a[0] != 0.0) {
- /* take branch */
- /* Subtract 1 here since we'll do pc++ at end of for-loop */
- pc = inst->BranchTarget - 1;
- }
- }
- break;
case OPCODE_CAL: /* Call subroutine (conditional) */
if (eval_condition(machine, inst)) {
/* call the subroutine */