mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-25 04:20:08 +01:00
nv50/ir: fix asFlow() const helper for OP_JOIN
Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu> Cc: mesa-stable@lists.freedesktop.org
This commit is contained in:
parent
a9d08a250a
commit
db269ae495
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue