nv50/ir: fix asFlow() const helper for OP_JOIN
authorIlia Mirkin <imirkin@alum.mit.edu>
Thu, 30 Apr 2015 03:33:27 +0000 (23:33 -0400)
committerIlia Mirkin <imirkin@alum.mit.edu>
Thu, 30 Apr 2015 03:34:30 +0000 (23:34 -0400)
Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
Cc: mesa-stable@lists.freedesktop.org
src/gallium/drivers/nouveau/codegen/nv50_ir_inlines.h

index 255324f..e465f24 100644 (file)
@@ -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<const FlowInstruction *>(this);
    return NULL;
 }