diff options
author | ReinUsesLisp <reinuseslisp@airmail.cc> | 2021-05-22 02:01:05 +0200 |
---|---|---|
committer | ameerj <52414509+ameerj@users.noreply.github.com> | 2021-07-23 03:51:33 +0200 |
commit | 89e341d56ab49ca38a83ba798c78453243006c12 (patch) | |
tree | 709eacfa56e6aba07527da35e8200f3deae7461c /src/shader_recompiler/backend/glasm/emit_glasm_not_implemented.cpp | |
parent | glasm: Implement IsHelperInvocation (diff) | |
download | yuzu-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 'src/shader_recompiler/backend/glasm/emit_glasm_not_implemented.cpp')
-rw-r--r-- | src/shader_recompiler/backend/glasm/emit_glasm_not_implemented.cpp | 4 |
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) { |