mirror of
https://github.com/KytyPS5/KytyPS5.git
synced 2026-10-28 08:13:05 +00:00
refactor(shader): emit structured phis natively
This commit is contained in:
1 parent
d34e30d892
commit
49145c1902
11 files changed
+667
-172
No files matched your search
@@ -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