diff options
author | Francisco Jerez <[email protected]> | 2012-04-14 21:24:16 +0200 |
---|---|---|
committer | Christoph Bumiller <[email protected]> | 2012-04-14 21:54:01 +0200 |
commit | a05e6a3fa28168d58a13cfb07f7a664e84b925ae (patch) | |
tree | 615736c3863cb7985ef77f70e7695d24b361e41b /src/gallium/drivers/nvc0/codegen | |
parent | da28ba00d84f59650bf180769d9d9a1609eb6164 (diff) |
nv50/ir: Decouple object cloning logic from the sub-object recursion policy.
Diffstat (limited to 'src/gallium/drivers/nvc0/codegen')
-rw-r--r-- | src/gallium/drivers/nvc0/codegen/nv50_ir_lowering_nvc0.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/drivers/nvc0/codegen/nv50_ir_lowering_nvc0.cpp b/src/gallium/drivers/nvc0/codegen/nv50_ir_lowering_nvc0.cpp index 6eb0bf48928..bd33fbfac5c 100644 --- a/src/gallium/drivers/nvc0/codegen/nv50_ir_lowering_nvc0.cpp +++ b/src/gallium/drivers/nvc0/codegen/nv50_ir_lowering_nvc0.cpp @@ -159,7 +159,7 @@ NVC0LegalizePostRA::split64BitOp(Instruction *i) return; i->dType = i->sType = TYPE_U32; - i->bb->insertAfter(i, i->clone(true)); // deep cloning + i->bb->insertAfter(i, cloneForward(func, i)); } } @@ -390,7 +390,7 @@ NVC0LoweringPass::handleManualTXD(TexInstruction *i) for (c = 0; c < dim; ++c) bld.mkQuadop(qOps[l][1], crd[c], l, i->dPdy[c].get(), crd[c]); // texture - bld.insert(tex = i->clone(true)); + bld.insert(tex = cloneForward(func, i)); for (c = 0; c < dim; ++c) tex->setSrc(c, crd[c]); // save results |