mirror of
https://github.com/yuzu-emu/yuzu-android
synced 2024-12-27 14:01:21 -08:00
glasm: Implement SampleId
This commit is contained in:
parent
77d8c44b68
commit
89e341d56a
@ -69,7 +69,7 @@ void EmitSetOFlag(EmitContext& ctx);
|
|||||||
void EmitWorkgroupId(EmitContext& ctx, IR::Inst& inst);
|
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, IR::Inst& inst);
|
||||||
void EmitIsHelperInvocation(EmitContext& ctx, IR::Inst& inst);
|
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);
|
||||||
|
@ -164,8 +164,8 @@ void EmitInvocationId(EmitContext& ctx, IR::Inst& inst) {
|
|||||||
ctx.Add("MOV.S {}.x,primitive_invocation.x;", inst);
|
ctx.Add("MOV.S {}.x,primitive_invocation.x;", inst);
|
||||||
}
|
}
|
||||||
|
|
||||||
void EmitSampleId(EmitContext& ctx) {
|
void EmitSampleId(EmitContext& ctx, IR::Inst& inst) {
|
||||||
NotImplemented();
|
ctx.Add("MOV.S {}.x,fragment.sampleid.x;", inst);
|
||||||
}
|
}
|
||||||
|
|
||||||
void EmitIsHelperInvocation(EmitContext& ctx, IR::Inst& inst) {
|
void EmitIsHelperInvocation(EmitContext& ctx, IR::Inst& inst) {
|
||||||
|
Loading…
Reference in New Issue
Block a user