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 305d0282494c2a8423f1c7afd039afb29ea21705..75dfd7383c04ce1a4f83fec706a8e565eb953e70 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");