summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/nv50/nv50_pc_emit.c
diff options
context:
space:
mode:
authorChristoph Bumiller <e0425955@student.tuwien.ac.at>2010-08-10 17:36:25 +0200
committerChristoph Bumiller <e0425955@student.tuwien.ac.at>2010-08-10 17:36:25 +0200
commit3a68fcfb6b406cf864afbf200e436fc384fd0865 (patch)
tree84e21b6659361cfa6c202c097256365faf97c45c /src/gallium/drivers/nv50/nv50_pc_emit.c
parentfc1d72d15d929b629be399d977ad05611f01fc59 (diff)
nv50: begin implementing loops
Diffstat (limited to 'src/gallium/drivers/nv50/nv50_pc_emit.c')
-rw-r--r--src/gallium/drivers/nv50/nv50_pc_emit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/nv50/nv50_pc_emit.c b/src/gallium/drivers/nv50/nv50_pc_emit.c
index 728e2b145d..35bd5ff10f 100644
--- a/src/gallium/drivers/nv50/nv50_pc_emit.c
+++ b/src/gallium/drivers/nv50/nv50_pc_emit.c
@@ -694,7 +694,7 @@ emit_flow(struct nv_pc *pc, struct nv_instruction *i, ubyte flow_op)
set_pred(pc, i);
- if (i->target) {
+ if (i->target && (i->opcode != NV_OP_BREAK)) {
new_fixup(pc, NV_FIXUP_CFLOW_RELOC, i->target->bin_pos, 0x7ff800, 11);
pc->emit[0] |= (i->target->bin_pos / 4) << 11;
}