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 255324fec407b480513c8b2f6b382983646f5b84..e465f24845b10b94b1bbfbd759fdb7804d61edf9 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;
 }