mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-03-08 05:20:30 +01:00
nv50/ir: OP_JOIN is a flow instruction
OP_JOIN instructions are assumed to be flow instructions and mercilessly casted to FlowInstruction. This patch fixes an instance where an OP_JOIN is created as a plain instruction. This can cause crashes in the ir printer. [imirkin: add ->fixed = 1] Reviewed-by: Ilia Mirkin <imirkin@alum.mit.edu>
This commit is contained in:
parent
061c9bc204
commit
2e42deb29c
1 changed files with 1 additions and 1 deletions
|
|
@ -887,7 +887,7 @@ NV50LoweringPreSSA::handleTXL(TexInstruction *i)
|
|||
}
|
||||
}
|
||||
bld.setPosition(joinBB, false);
|
||||
bld.mkOp(OP_JOIN, TYPE_NONE, NULL);
|
||||
bld.mkFlow(OP_JOIN, NULL, CC_ALWAYS, NULL)->fixed = 1;
|
||||
return true;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue