mirror of
https://git.eden-emu.dev/eden-emu/eden.git
synced 2025-07-21 09:55:45 +00:00
shader: Add support for forward declarations
This commit is contained in:
parent
756c643f08
commit
60342eb0c0
11 changed files with 80 additions and 69 deletions
|
@ -31,7 +31,7 @@ static void RemovePseudoInstruction(IR::Inst*& inst, IR::Opcode expected_opcode)
|
|||
inst = nullptr;
|
||||
}
|
||||
|
||||
Inst::Inst(IR::Opcode op_, u64 flags_) noexcept : op{op_}, flags{flags_} {
|
||||
Inst::Inst(IR::Opcode op_, u32 flags_) noexcept : op{op_}, flags{flags_} {
|
||||
if (op == Opcode::Phi) {
|
||||
std::construct_at(&phi_args);
|
||||
} else {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue