i965: add missing break for OPCODE_RET case
authorBrian Paul <brianp@vmware.com>
Fri, 13 Feb 2009 23:56:25 +0000 (16:56 -0700)
committerBrian Paul <brianp@vmware.com>
Sat, 14 Feb 2009 00:18:36 +0000 (17:18 -0700)
This doesn't effect correctness, but we were emitting an extraneous ADD.

src/mesa/drivers/dri/i965/brw_vs_emit.c

index 24b7dc30fe1d8cdb6e60cd51fbbd7b24b6c68e80..a1328f69671b9ce55568ecdcf909ef1e0cc31d1f 100644 (file)
@@ -1212,6 +1212,7 @@ void brw_vs_emit(struct brw_vs_compile *c )
         brw_set_access_mode(p, BRW_ALIGN_1);
          brw_MOV(p, brw_ip_reg(), deref_1d(stack_index, 0));
         brw_set_access_mode(p, BRW_ALIGN_16);
+        break;
       case OPCODE_END: 
          brw_ADD(p, brw_ip_reg(), brw_ip_reg(), brw_imm_d(1*16));
          break;