mirror of
https://github.com/yuzu-emu/yuzu.git
synced 2024-12-25 17:40:06 +00:00
glasm: Implement gl_WorkGroupID
This commit is contained in:
parent
0a42277a4f
commit
e8ed904805
@ -66,7 +66,7 @@ void EmitSetZFlag(EmitContext& ctx);
|
|||||||
void EmitSetSFlag(EmitContext& ctx);
|
void EmitSetSFlag(EmitContext& ctx);
|
||||||
void EmitSetCFlag(EmitContext& ctx);
|
void EmitSetCFlag(EmitContext& ctx);
|
||||||
void EmitSetOFlag(EmitContext& ctx);
|
void EmitSetOFlag(EmitContext& ctx);
|
||||||
void EmitWorkgroupId(EmitContext& ctx);
|
void EmitWorkgroupId(EmitContext& ctx, IR::Inst& inst);
|
||||||
void EmitLocalInvocationId(EmitContext& ctx, IR::Inst& inst);
|
void EmitLocalInvocationId(EmitContext& ctx, IR::Inst& inst);
|
||||||
void EmitInvocationId(EmitContext& ctx);
|
void EmitInvocationId(EmitContext& ctx);
|
||||||
void EmitSampleId(EmitContext& ctx);
|
void EmitSampleId(EmitContext& ctx);
|
||||||
|
@ -144,8 +144,8 @@ void EmitSetOFlag(EmitContext& ctx) {
|
|||||||
NotImplemented();
|
NotImplemented();
|
||||||
}
|
}
|
||||||
|
|
||||||
void EmitWorkgroupId(EmitContext& ctx) {
|
void EmitWorkgroupId(EmitContext& ctx, IR::Inst& inst) {
|
||||||
NotImplemented();
|
ctx.Add("MOV.S {},invocation.groupid;", inst);
|
||||||
}
|
}
|
||||||
|
|
||||||
void EmitLocalInvocationId(EmitContext& ctx, IR::Inst& inst) {
|
void EmitLocalInvocationId(EmitContext& ctx, IR::Inst& inst) {
|
||||||
|
Loading…
Reference in New Issue
Block a user