From ee2a8ea7d9004c052916db79eac644ef51a9ccaa Mon Sep 17 00:00:00 2001 From: Christoph Bumiller Date: Fri, 8 Apr 2011 15:51:48 +0200 Subject: nv50,nvc0: don't insert instructions after the block terminator --- src/gallium/drivers/nv50/nv50_pc.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/gallium/drivers/nv50/nv50_pc.c') diff --git a/src/gallium/drivers/nv50/nv50_pc.c b/src/gallium/drivers/nv50/nv50_pc.c index f6870cc1d8e..4fe13a75b29 100644 --- a/src/gallium/drivers/nv50/nv50_pc.c +++ b/src/gallium/drivers/nv50/nv50_pc.c @@ -625,6 +625,9 @@ nvbb_insert_tail(struct nv_basic_block *b, struct nv_instruction *i) i->bb = b; b->num_instructions++; + + if (i->prev && i->prev->is_terminator) + nv_nvi_permute(i->prev, i); } void -- cgit v1.2.3