diff options
author | Ben Skeggs <[email protected]> | 2014-05-09 15:56:01 +1000 |
---|---|---|
committer | Ben Skeggs <[email protected]> | 2014-05-15 09:54:42 +1000 |
commit | 07d3972b4927841bb892af16ff0389f8a241b24c (patch) | |
tree | 5a29ca48f4ab4707bf188e747db12cdb6b388612 /src/gallium/drivers/nouveau/codegen | |
parent | 3723ff52237194995d4f9f9fb5d66fb80110889e (diff) |
nvc0: replace immd 0 with $rLASTGPR for emit/restart opcodes
Signed-off-by: Ben Skeggs <[email protected]>
Reviewed-by: Ilia Mirkin <[email protected]>
Diffstat (limited to 'src/gallium/drivers/nouveau/codegen')
-rw-r--r-- | src/gallium/drivers/nouveau/codegen/nv50_ir_lowering_nvc0.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/drivers/nouveau/codegen/nv50_ir_lowering_nvc0.cpp b/src/gallium/drivers/nouveau/codegen/nv50_ir_lowering_nvc0.cpp index dfaa28ff740..fb9bed4454c 100644 --- a/src/gallium/drivers/nouveau/codegen/nv50_ir_lowering_nvc0.cpp +++ b/src/gallium/drivers/nouveau/codegen/nv50_ir_lowering_nvc0.cpp @@ -494,6 +494,7 @@ NVC0LegalizePostRA::visit(BasicBlock *bb) i->setDef(0, NULL); if (i->src(0).getFile() == FILE_IMMEDIATE) i->setSrc(0, rZero); // initial value must be 0 + replaceZero(i); } else if (i->isNop()) { bb->remove(i); |