aboutsummaryrefslogtreecommitdiff
path: root/src/shader_recompiler/backend/glasm/emit_glasm_not_implemented.cpp
diff options
context:
space:
mode:
authorReinUsesLisp <reinuseslisp@airmail.cc>2021-05-21 20:59:24 -0300
committerameerj <52414509+ameerj@users.noreply.github.com>2021-07-22 21:51:33 -0400
commit77d8c44b68c02bcea0ca07944fc6a87c336d72a5 (patch)
tree590bd3392636f8dca521e5074b1056a3986161f2 /src/shader_recompiler/backend/glasm/emit_glasm_not_implemented.cpp
parentddf601919f0f415f19082be49f89c80eaba1352b (diff)
glasm: Implement IsHelperInvocation
Diffstat (limited to 'src/shader_recompiler/backend/glasm/emit_glasm_not_implemented.cpp')
-rw-r--r--src/shader_recompiler/backend/glasm/emit_glasm_not_implemented.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/shader_recompiler/backend/glasm/emit_glasm_not_implemented.cpp b/src/shader_recompiler/backend/glasm/emit_glasm_not_implemented.cpp
index 962719ffb..1e236c487 100644
--- a/src/shader_recompiler/backend/glasm/emit_glasm_not_implemented.cpp
+++ b/src/shader_recompiler/backend/glasm/emit_glasm_not_implemented.cpp
@@ -168,8 +168,8 @@ void EmitSampleId(EmitContext& ctx) {
NotImplemented();
}
-void EmitIsHelperInvocation(EmitContext& ctx) {
- NotImplemented();
+void EmitIsHelperInvocation(EmitContext& ctx, IR::Inst& inst) {
+ ctx.Add("MOV.S {}.x,fragment.helperthread.x;", inst);
}
void EmitYDirection(EmitContext& ctx) {