diff options
author | Christoph Bumiller <[email protected]> | 2011-02-07 19:01:54 +0100 |
---|---|---|
committer | Christoph Bumiller <[email protected]> | 2011-02-09 16:04:59 +0100 |
commit | 8f051345807494ae0aeaf75e698477f65f29322d (patch) | |
tree | eb0e7868e1e0d92a67d52e4e8a52645708b71b84 /src/gallium | |
parent | 92d8af582d2584ed95bbb4c7965812f7bc47c9ff (diff) |
nvc0: set basic block on manual instruction insertion
Diffstat (limited to 'src/gallium')
-rw-r--r-- | src/gallium/drivers/nvc0/nvc0_pc.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/drivers/nvc0/nvc0_pc.c b/src/gallium/drivers/nvc0/nvc0_pc.c index 1d1b9e19b78..a2006321021 100644 --- a/src/gallium/drivers/nvc0/nvc0_pc.c +++ b/src/gallium/drivers/nvc0/nvc0_pc.c @@ -518,6 +518,8 @@ nvc0_insn_insert_after(struct nv_instruction *at, struct nv_instruction *ni) ni->prev = at; ni->next->prev = ni; ni->prev->next = ni; + ni->bb = at->bb; + ni->bb->num_instructions++; } void |