summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/nvc0/codegen
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium/drivers/nvc0/codegen')
-rw-r--r--src/gallium/drivers/nvc0/codegen/nv50_ir_emit_nvc0.cpp2
1 files changed, 1 insertions, 1 deletions
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) {