summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrian <[email protected]>2006-12-16 12:51:12 -0700
committerBrian <[email protected]>2006-12-16 12:51:12 -0700
commit3e1f4bc15be920365a548f64cae6bff1c5ed3ec5 (patch)
treeb8516364f331da4e2182d889b1f6df38a6cd4241
parentb456413d7644978bf7bd40d9c1bcba83f637f685 (diff)
added cases for BRA, NOP
-rw-r--r--src/mesa/shader/nvvertexec.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/mesa/shader/nvvertexec.c b/src/mesa/shader/nvvertexec.c
index 305d0282494..75dfd7383c0 100644
--- a/src/mesa/shader/nvvertexec.c
+++ b/src/mesa/shader/nvvertexec.c
@@ -816,6 +816,11 @@ _mesa_exec_vertex_program(GLcontext *ctx,
case OPCODE_END:
ctx->_CurrentProgram = 0;
return;
+ case OPCODE_BRA:
+ /* XXX implement */
+ /* FALLTHROUGH */
+ case OPCODE_NOP:
+ break;
default:
/* bad instruction opcode */
_mesa_problem(ctx, "Bad VP Opcode in _mesa_exec_vertex_program");