mirror of
https://github.com/KytyPS5/KytyPS5.git
synced 2026-10-21 03:16:54 +02:00
refactor(shader): emit structured phis natively
This commit is contained in:
@@ -176,6 +176,10 @@ size_t Inst::NumArgs() const {
|
||||
return args.size();
|
||||
}
|
||||
|
||||
size_t Inst::NumPhiBlocks() const {
|
||||
return phi_blocks.size();
|
||||
}
|
||||
|
||||
Value Inst::Arg(size_t index) const {
|
||||
EXIT_IF(index >= args.size());
|
||||
return args[index];
|
||||
|
||||
Reference in New Issue
Block a user