diff options
author | ameerj <52414509+ameerj@users.noreply.github.com> | 2021-05-28 02:31:03 +0200 |
---|---|---|
committer | ameerj <52414509+ameerj@users.noreply.github.com> | 2021-07-23 03:51:36 +0200 |
commit | a752ec88d06c6bcfb13605447a164c6b6915ed6e (patch) | |
tree | 5e0bb8f30120199ed4955d402ff0b554db257e2c /src/shader_recompiler/backend/glsl/emit_glsl_not_implemented.cpp | |
parent | glsl: Fix non-immediate buffer access (diff) | |
download | yuzu-a752ec88d06c6bcfb13605447a164c6b6915ed6e.tar yuzu-a752ec88d06c6bcfb13605447a164c6b6915ed6e.tar.gz yuzu-a752ec88d06c6bcfb13605447a164c6b6915ed6e.tar.bz2 yuzu-a752ec88d06c6bcfb13605447a164c6b6915ed6e.tar.lz yuzu-a752ec88d06c6bcfb13605447a164c6b6915ed6e.tar.xz yuzu-a752ec88d06c6bcfb13605447a164c6b6915ed6e.tar.zst yuzu-a752ec88d06c6bcfb13605447a164c6b6915ed6e.zip |
Diffstat (limited to 'src/shader_recompiler/backend/glsl/emit_glsl_not_implemented.cpp')
-rw-r--r-- | src/shader_recompiler/backend/glsl/emit_glsl_not_implemented.cpp | 26 |
1 files changed, 3 insertions, 23 deletions
diff --git a/src/shader_recompiler/backend/glsl/emit_glsl_not_implemented.cpp b/src/shader_recompiler/backend/glsl/emit_glsl_not_implemented.cpp index 761145a5d..4dfc0c896 100644 --- a/src/shader_recompiler/backend/glsl/emit_glsl_not_implemented.cpp +++ b/src/shader_recompiler/backend/glsl/emit_glsl_not_implemented.cpp @@ -224,8 +224,9 @@ void EmitIsHelperInvocation(EmitContext& ctx) { NotImplemented(); } -void EmitYDirection(EmitContext& ctx) { - NotImplemented(); +void EmitYDirection(EmitContext& ctx, IR::Inst& inst) { + ctx.uses_y_direction = true; + ctx.AddF32("{}=gl_FrontMaterial.ambient.a;", inst); } void EmitLoadLocal(EmitContext& ctx, std::string_view word_offset) { @@ -650,25 +651,4 @@ void EmitShuffleButterfly(EmitContext& ctx, IR::Inst& inst, std::string_view val NotImplemented(); } -void EmitFSwizzleAdd(EmitContext& ctx, std::string_view op_a, std::string_view op_b, - std::string_view swizzle) { - NotImplemented(); -} - -void EmitDPdxFine(EmitContext& ctx, std::string_view op_a) { - NotImplemented(); -} - -void EmitDPdyFine(EmitContext& ctx, std::string_view op_a) { - NotImplemented(); -} - -void EmitDPdxCoarse(EmitContext& ctx, std::string_view op_a) { - NotImplemented(); -} - -void EmitDPdyCoarse(EmitContext& ctx, std::string_view op_a) { - NotImplemented(); -} - } // namespace Shader::Backend::GLSL |