glsl: Wip storage atomic ops
This commit is contained in:
parent
b3fce08191
commit
659eecb295
10 changed files with 414 additions and 327 deletions
|
@ -61,6 +61,12 @@ std::string MakeImm(const IR::Value& value) {
|
|||
}
|
||||
} // Anonymous namespace
|
||||
|
||||
std::string RegAlloc::Define(IR::Inst& inst) {
|
||||
const Id id{Alloc()};
|
||||
inst.SetDefinition<Id>(id);
|
||||
return Representation(id);
|
||||
}
|
||||
|
||||
std::string RegAlloc::Define(IR::Inst& inst, Type type) {
|
||||
const Id id{Alloc()};
|
||||
const auto type_str{GetType(type, id.index)};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue