summaryrefslogtreecommitdiffstats
path: root/src/shader_recompiler/backend/glasm/emit_glasm_not_implemented.cpp
diff options
context:
space:
mode:
authorReinUsesLisp <reinuseslisp@airmail.cc>2021-05-22 02:01:05 +0200
committerameerj <52414509+ameerj@users.noreply.github.com>2021-07-23 03:51:33 +0200
commit89e341d56ab49ca38a83ba798c78453243006c12 (patch)
tree709eacfa56e6aba07527da35e8200f3deae7461c /src/shader_recompiler/backend/glasm/emit_glasm_not_implemented.cpp
parentglasm: Implement IsHelperInvocation (diff)
downloadyuzu-89e341d56ab49ca38a83ba798c78453243006c12.tar
yuzu-89e341d56ab49ca38a83ba798c78453243006c12.tar.gz
yuzu-89e341d56ab49ca38a83ba798c78453243006c12.tar.bz2
yuzu-89e341d56ab49ca38a83ba798c78453243006c12.tar.lz
yuzu-89e341d56ab49ca38a83ba798c78453243006c12.tar.xz
yuzu-89e341d56ab49ca38a83ba798c78453243006c12.tar.zst
yuzu-89e341d56ab49ca38a83ba798c78453243006c12.zip
Diffstat (limited to '')
-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 1e236c487..756134d02 100644
--- a/src/shader_recompiler/backend/glasm/emit_glasm_not_implemented.cpp
+++ b/src/shader_recompiler/backend/glasm/emit_glasm_not_implemented.cpp
@@ -164,8 +164,8 @@ void EmitInvocationId(EmitContext& ctx, IR::Inst& inst) {
ctx.Add("MOV.S {}.x,primitive_invocation.x;", inst);
}
-void EmitSampleId(EmitContext& ctx) {
- NotImplemented();
+void EmitSampleId(EmitContext& ctx, IR::Inst& inst) {
+ ctx.Add("MOV.S {}.x,fragment.sampleid.x;", inst);
}
void EmitIsHelperInvocation(EmitContext& ctx, IR::Inst& inst) {