mirror of
https://git.eden-emu.dev/eden-emu/eden.git
synced 2025-07-21 07:35:45 +00:00
glasm: Initial implementation of phi nodes on GLASM
This commit is contained in:
parent
55a293a9c8
commit
f2ae32fa76
12 changed files with 117 additions and 25 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue