From f07c46a4f425d1075e79ad1bba424f6921e37cc8 Mon Sep 17 00:00:00 2001 From: Christoph Bumiller Date: Thu, 28 Feb 2013 19:07:24 +0100 Subject: [PATCH] nvc0/ir: use large issue delay after RET, too --- src/gallium/drivers/nvc0/codegen/nv50_ir_emit_nvc0.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gallium/drivers/nvc0/codegen/nv50_ir_emit_nvc0.cpp b/src/gallium/drivers/nvc0/codegen/nv50_ir_emit_nvc0.cpp index 1013b50766d..7fd9b86884b 100644 --- a/src/gallium/drivers/nvc0/codegen/nv50_ir_emit_nvc0.cpp +++ b/src/gallium/drivers/nvc0/codegen/nv50_ir_emit_nvc0.cpp @@ -2559,7 +2559,7 @@ private: void SchedDataCalculator::setDelay(Instruction *insn, int delay, Instruction *next) { - if (insn->op == OP_EXIT) + if (insn->op == OP_EXIT || insn->op == OP_RET) delay = MAX2(delay, 14); if (insn->op == OP_TEXBAR) { -- 2.30.2