diff options
author | Brian Paul <[email protected]> | 2009-02-13 16:56:25 -0700 |
---|---|---|
committer | Brian Paul <[email protected]> | 2009-02-13 17:18:36 -0700 |
commit | 74b6d55864b9264323a09856781f655e453b182b (patch) | |
tree | 94b50c7589cbeb2e5fd6ac9185b660738d04fedd | |
parent | 97937e0ac8d5f46722af98ca40fba3f7a989d97d (diff) |
i965: add missing break for OPCODE_RET case
This doesn't effect correctness, but we were emitting an extraneous ADD.
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_vs_emit.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_vs_emit.c b/src/mesa/drivers/dri/i965/brw_vs_emit.c index 24b7dc30fe1..a1328f69671 100644 --- a/src/mesa/drivers/dri/i965/brw_vs_emit.c +++ b/src/mesa/drivers/dri/i965/brw_vs_emit.c @@ -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; |