shader: Add pools and rename files
This commit is contained in:
parent
be94ee88d2
commit
16cb00c521
30 changed files with 255 additions and 108 deletions
|
@ -23,8 +23,9 @@ static void Invoke(TranslatorVisitor& visitor, Location pc, u64 insn) {
|
|||
}
|
||||
}
|
||||
|
||||
IR::Block Translate(Environment& env, const Flow::Block& flow_block) {
|
||||
IR::Block block{flow_block.begin.Offset(), flow_block.end.Offset()};
|
||||
IR::Block Translate(ObjectPool<IR::Inst>& inst_pool, Environment& env,
|
||||
const Flow::Block& flow_block) {
|
||||
IR::Block block{inst_pool, flow_block.begin.Offset(), flow_block.end.Offset()};
|
||||
TranslatorVisitor visitor{env, block};
|
||||
|
||||
const Location pc_end{flow_block.end};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue