From db269ae495425849804fb1d05cfe42b0d3d304b3 Mon Sep 17 00:00:00 2001 From: Ilia Mirkin Date: Wed, 29 Apr 2015 23:33:27 -0400 Subject: nv50/ir: fix asFlow() const helper for OP_JOIN Signed-off-by: Ilia Mirkin Cc: mesa-stable@lists.freedesktop.org --- src/gallium/drivers/nouveau/codegen/nv50_ir_inlines.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/gallium') 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; } -- cgit v1.2.3