mirror of
https://github.com/yuzu-emu/yuzu-android.git
synced 2025-06-10 17:57:58 -05:00
shader: Fix Phi node types
This commit is contained in:
@ -275,10 +275,6 @@ void Inst::AddPhiOperand(Block* predecessor, const Value& value) {
|
||||
if (!value.IsImmediate()) {
|
||||
Use(value);
|
||||
}
|
||||
if (Flags<IR::Type>() == IR::Type::Void) {
|
||||
// Set the type of the phi node
|
||||
SetFlags<IR::Type>(value.Type());
|
||||
}
|
||||
phi_args.emplace_back(predecessor, value);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user