glsl: Fix atomic SSBO offsets
and implement misc getters
This commit is contained in:
parent
19247ba4fa
commit
68d075d1e8
4 changed files with 74 additions and 67 deletions
|
@ -38,7 +38,7 @@ std::string GetMaxThreadId(std::string_view thread_id, std::string_view clamp,
|
|||
} // namespace
|
||||
|
||||
void EmitLaneId([[maybe_unused]] EmitContext& ctx, [[maybe_unused]] IR::Inst& inst) {
|
||||
NotImplemented();
|
||||
ctx.AddU32("{}=gl_SubGroupInvocationARB&31u;", inst);
|
||||
}
|
||||
|
||||
void EmitVoteAll(EmitContext& ctx, IR::Inst& inst, std::string_view pred) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue