glasm: Implement gl_WorkGroupID
This commit is contained in:
parent
0a42277a4f
commit
e8ed904805
2 changed files with 3 additions and 3 deletions
|
@ -144,8 +144,8 @@ void EmitSetOFlag(EmitContext& ctx) {
|
|||
NotImplemented();
|
||||
}
|
||||
|
||||
void EmitWorkgroupId(EmitContext& ctx) {
|
||||
NotImplemented();
|
||||
void EmitWorkgroupId(EmitContext& ctx, IR::Inst& inst) {
|
||||
ctx.Add("MOV.S {},invocation.groupid;", inst);
|
||||
}
|
||||
|
||||
void EmitLocalInvocationId(EmitContext& ctx, IR::Inst& inst) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue