mirror of
https://git.suyu.dev/suyu/suyu.git
synced 2024-11-27 09:12:46 +01:00
glasm: Implement IsHelperInvocation
This commit is contained in:
parent
ddf601919f
commit
77d8c44b68
2 changed files with 3 additions and 3 deletions
|
@ -70,7 +70,7 @@ 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, IR::Inst& inst);
|
void EmitInvocationId(EmitContext& ctx, IR::Inst& inst);
|
||||||
void EmitSampleId(EmitContext& ctx);
|
void EmitSampleId(EmitContext& ctx);
|
||||||
void EmitIsHelperInvocation(EmitContext& ctx);
|
void EmitIsHelperInvocation(EmitContext& ctx, IR::Inst& inst);
|
||||||
void EmitYDirection(EmitContext& ctx);
|
void EmitYDirection(EmitContext& ctx);
|
||||||
void EmitLoadLocal(EmitContext& ctx, IR::Inst& inst, ScalarU32 word_offset);
|
void EmitLoadLocal(EmitContext& ctx, IR::Inst& inst, ScalarU32 word_offset);
|
||||||
void EmitWriteLocal(EmitContext& ctx, ScalarU32 word_offset, ScalarU32 value);
|
void EmitWriteLocal(EmitContext& ctx, ScalarU32 word_offset, ScalarU32 value);
|
||||||
|
|
|
@ -168,8 +168,8 @@ void EmitSampleId(EmitContext& ctx) {
|
||||||
NotImplemented();
|
NotImplemented();
|
||||||
}
|
}
|
||||||
|
|
||||||
void EmitIsHelperInvocation(EmitContext& ctx) {
|
void EmitIsHelperInvocation(EmitContext& ctx, IR::Inst& inst) {
|
||||||
NotImplemented();
|
ctx.Add("MOV.S {}.x,fragment.helperthread.x;", inst);
|
||||||
}
|
}
|
||||||
|
|
||||||
void EmitYDirection(EmitContext& ctx) {
|
void EmitYDirection(EmitContext& ctx) {
|
||||||
|
|
Loading…
Reference in a new issue