mirror of
https://git.eden-emu.dev/archive/citron
synced 2026-04-17 10:10:45 -04: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