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
|
@ -211,8 +211,8 @@ void EmitSampleId(EmitContext& ctx, IR::Inst& inst) {
|
|||
NotImplemented();
|
||||
}
|
||||
|
||||
void EmitIsHelperInvocation(EmitContext& ctx) {
|
||||
NotImplemented();
|
||||
void EmitIsHelperInvocation(EmitContext& ctx, IR::Inst& inst) {
|
||||
ctx.AddU1("{}=gl_HelperInvocation;", inst);
|
||||
}
|
||||
|
||||
void EmitYDirection(EmitContext& ctx, IR::Inst& inst) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue