added cases for BRA, NOP
authorBrian <brian@yutani.localnet.net>
Sat, 16 Dec 2006 19:51:12 +0000 (12:51 -0700)
committerBrian <brian@yutani.localnet.net>
Sat, 16 Dec 2006 19:51:12 +0000 (12:51 -0700)
src/mesa/shader/nvvertexec.c

index 305d028..75dfd73 100644 (file)
@@ -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");