summaryrefslogtreecommitdiffstats
path: root/src/mesa/swrast
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesa/swrast')
-rw-r--r--src/mesa/swrast/s_fragprog.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/mesa/swrast/s_fragprog.c b/src/mesa/swrast/s_fragprog.c
index 740360d4603..00231aeae8b 100644
--- a/src/mesa/swrast/s_fragprog.c
+++ b/src/mesa/swrast/s_fragprog.c
@@ -675,6 +675,14 @@ execute_program( GLcontext *ctx,
}
}
break;
+ case OPCODE_BGNLOOP: /* begin loop */
+ break;
+ case OPCODE_ENDLOOP: /* end loop */
+ break;
+ case OPCODE_BGNSUB: /* begin subroutine */
+ break;
+ case OPCODE_ENDSUB: /* end subroutine */
+ break;
case OPCODE_BRA: /* conditional branch */
{
/* NOTE: The branch is conditional! */
@@ -692,6 +700,9 @@ execute_program( GLcontext *ctx,
}
}
break;
+ case OPCODE_BRK: /* break out of loop */
+ /* assert inside loop */
+ break;
case OPCODE_CAL: /* Call subroutine */
{
/* NOTE: The call is conditional! */
@@ -722,6 +733,8 @@ execute_program( GLcontext *ctx,
store_vector4( inst, machine, result );
}
break;
+ case OPCODE_CONT: /* continue loop */
+ break;
case OPCODE_COS:
{
GLfloat a[4], result[4];