diff options
author | Christoph Bumiller <[email protected]> | 2012-05-29 17:00:10 +0200 |
---|---|---|
committer | Christoph Bumiller <[email protected]> | 2012-05-29 17:00:10 +0200 |
commit | 79eed0d2246e8e7be505784af0078507c712a02c (patch) | |
tree | 5be3e1f932e1b9497c76731f3f0f8748877100c2 /src/gallium/drivers/nv50 | |
parent | 40c224a573f2b763046001e622aafca90f68c693 (diff) |
nvc0/ir: allow 64-bit constant loads on nve4
Looks like only 128-bit access doesn't work.
Diffstat (limited to 'src/gallium/drivers/nv50')
-rw-r--r-- | src/gallium/drivers/nv50/codegen/nv50_ir_peephole.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/drivers/nv50/codegen/nv50_ir_peephole.cpp b/src/gallium/drivers/nv50/codegen/nv50_ir_peephole.cpp index cfbe3ecf784..6f34b1aeb3c 100644 --- a/src/gallium/drivers/nv50/codegen/nv50_ir_peephole.cpp +++ b/src/gallium/drivers/nv50/codegen/nv50_ir_peephole.cpp @@ -1939,6 +1939,8 @@ FlatteningPass::visit(BasicBlock *bb) !isTextureOp(insn->op) && // probably just nve4 insn->op != OP_LINTERP && // probably just nve4 insn->op != OP_PINTERP && // probably just nve4 + ((insn->op != OP_LOAD && insn->op != OP_STORE) || + typeSizeof(insn->dType) <= 4) && !insn->isNop()) { insn->join = 1; bb->remove(bb->getExit()); |