diff options
author | ReinUsesLisp <reinuseslisp@airmail.cc> | 2021-05-20 06:49:26 +0200 |
---|---|---|
committer | ameerj <52414509+ameerj@users.noreply.github.com> | 2021-07-23 03:51:32 +0200 |
commit | 3d0ffc6ad077174e2af9f3923fd99ced6f5e373b (patch) | |
tree | b7a50656b63f5207c61f52bd6e655634dd9d7c1d /src/shader_recompiler/backend/glasm/emit_glasm_not_implemented.cpp | |
parent | glasm: Implement ImageGradient (diff) | |
download | yuzu-3d0ffc6ad077174e2af9f3923fd99ced6f5e373b.tar yuzu-3d0ffc6ad077174e2af9f3923fd99ced6f5e373b.tar.gz yuzu-3d0ffc6ad077174e2af9f3923fd99ced6f5e373b.tar.bz2 yuzu-3d0ffc6ad077174e2af9f3923fd99ced6f5e373b.tar.lz yuzu-3d0ffc6ad077174e2af9f3923fd99ced6f5e373b.tar.xz yuzu-3d0ffc6ad077174e2af9f3923fd99ced6f5e373b.tar.zst yuzu-3d0ffc6ad077174e2af9f3923fd99ced6f5e373b.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 | 10 |
1 files changed, 7 insertions, 3 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 f7fec0545..9b962427c 100644 --- a/src/shader_recompiler/backend/glasm/emit_glasm_not_implemented.cpp +++ b/src/shader_recompiler/backend/glasm/emit_glasm_not_implemented.cpp @@ -72,12 +72,16 @@ void EmitEpilogue(EmitContext& ctx) { // TODO } -void EmitEmitVertex(EmitContext& ctx, const IR::Value& stream) { - NotImplemented(); +void EmitEmitVertex(EmitContext& ctx, ScalarS32 stream) { + ctx.Add("EMITS {};", stream); } void EmitEndPrimitive(EmitContext& ctx, const IR::Value& stream) { - NotImplemented(); + if (!stream.IsImmediate()) { + // LOG_WARNING not immediate + } + ctx.reg_alloc.Consume(stream); + ctx.Add("ENDPRIM;"); } void EmitGetRegister(EmitContext& ctx) { |