mirror of
https://github.com/yuzu-emu/yuzu.git
synced 2025-06-13 20:58:00 -05:00
glsl: Wip storage atomic ops
This commit is contained in:
@ -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)};
|
||||
|
Reference in New Issue
Block a user