mirror of
https://git.citron-emu.org/citron/emu.git
synced 2025-12-14 01:36:56 +00:00
glsl: Wip storage atomic ops
This commit is contained in:
parent
df793fc049
commit
3d9ecbe998
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