mirror of
https://git.eden-emu.dev/eden-emu/eden.git
synced 2025-07-23 22:35:45 +00:00
shader: Fix splits on blocks using indirect branches
This commit is contained in:
parent
e2d1e21532
commit
64372edffb
3 changed files with 38 additions and 17 deletions
|
@ -79,18 +79,14 @@ struct Block : boost::intrusive::set_base_hook<
|
|||
Location begin;
|
||||
Location end;
|
||||
EndClass end_class;
|
||||
Stack stack;
|
||||
IR::Condition cond;
|
||||
union {
|
||||
Block* branch_true;
|
||||
FunctionId function_call;
|
||||
IR::Reg branch_reg;
|
||||
};
|
||||
union {
|
||||
Block* branch_false;
|
||||
Block* return_block;
|
||||
s32 branch_offset;
|
||||
};
|
||||
Stack stack;
|
||||
Block* branch_true;
|
||||
Block* branch_false;
|
||||
FunctionId function_call;
|
||||
Block* return_block;
|
||||
IR::Reg branch_reg;
|
||||
s32 branch_offset;
|
||||
std::vector<IndirectBranch> indirect_branches;
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue