shader: Add support for forward declarations
This commit is contained in:
parent
756c643f08
commit
60342eb0c0
11 changed files with 80 additions and 69 deletions
|
@ -26,7 +26,7 @@ void Block::AppendNewInst(Opcode op, std::initializer_list<Value> args) {
|
|||
}
|
||||
|
||||
Block::iterator Block::PrependNewInst(iterator insertion_point, Opcode op,
|
||||
std::initializer_list<Value> args, u64 flags) {
|
||||
std::initializer_list<Value> args, u32 flags) {
|
||||
Inst* const inst{inst_pool->Create(op, flags)};
|
||||
const auto result_it{instructions.insert(insertion_point, *inst)};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue