From: Ilia Mirkin Date: Thu, 30 Apr 2015 03:33:27 +0000 (-0400) Subject: nv50/ir: fix asFlow() const helper for OP_JOIN X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=db269ae495425849804fb1d05cfe42b0d3d304b3;p=mesa.git nv50/ir: fix asFlow() const helper for OP_JOIN Signed-off-by: Ilia Mirkin Cc: mesa-stable@lists.freedesktop.org --- diff --git a/src/gallium/drivers/nouveau/codegen/nv50_ir_inlines.h b/src/gallium/drivers/nouveau/codegen/nv50_ir_inlines.h index 255324fec40..e465f24845b 100644 --- a/src/gallium/drivers/nouveau/codegen/nv50_ir_inlines.h +++ b/src/gallium/drivers/nouveau/codegen/nv50_ir_inlines.h @@ -302,7 +302,7 @@ FlowInstruction *Instruction::asFlow() const FlowInstruction *Instruction::asFlow() const { - if (op >= OP_BRA && op <= OP_JOINAT) + if (op >= OP_BRA && op <= OP_JOIN) return static_cast(this); return NULL; }