diff options
author | Christoph Bumiller <[email protected]> | 2011-04-08 15:51:48 +0200 |
---|---|---|
committer | Christoph Bumiller <[email protected]> | 2011-04-10 14:06:51 +0200 |
commit | ee2a8ea7d9004c052916db79eac644ef51a9ccaa (patch) | |
tree | d85a6adda073ec429f56e043b4a727cc0e0ae30f /src/gallium/drivers/nv50/nv50_pc.c | |
parent | d27ff8c5cd22ac0279948d3df4b3384eef866cde (diff) |
nv50,nvc0: don't insert instructions after the block terminator
Diffstat (limited to 'src/gallium/drivers/nv50/nv50_pc.c')
-rw-r--r-- | src/gallium/drivers/nv50/nv50_pc.c | 3 |
1 files changed, 3 insertions, 0 deletions
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 |