mirror of
https://github.com/yuzu-emu/yuzu.git
synced 2025-06-14 18:07:59 -05:00
glasm: Initial implementation of phi nodes on GLASM
This commit is contained in:
@ -391,4 +391,8 @@ inline f64 Value::F64() const {
|
||||
return imm_f64;
|
||||
}
|
||||
|
||||
[[nodiscard]] inline bool IsPhi(const Inst& inst) {
|
||||
return inst.GetOpcode() == Opcode::Phi;
|
||||
}
|
||||
|
||||
} // namespace Shader::IR
|
||||
|
Reference in New Issue
Block a user