diff options
author | Lioncash <mathew1800@gmail.com> | 2020-07-21 06:52:27 +0200 |
---|---|---|
committer | Lioncash <mathew1800@gmail.com> | 2020-07-21 06:57:25 +0200 |
commit | e17fb5ee97dab16c73b017393b6544847e9aef67 (patch) | |
tree | 05ac8d70e8516d27062f4940e64d905c95c2b6c5 /src/video_core/renderer_opengl/gl_shader_decompiler.cpp | |
parent | Merge pull request #4376 from ogniK5377/dark-wait-tree (diff) | |
download | yuzu-e17fb5ee97dab16c73b017393b6544847e9aef67.tar yuzu-e17fb5ee97dab16c73b017393b6544847e9aef67.tar.gz yuzu-e17fb5ee97dab16c73b017393b6544847e9aef67.tar.bz2 yuzu-e17fb5ee97dab16c73b017393b6544847e9aef67.tar.lz yuzu-e17fb5ee97dab16c73b017393b6544847e9aef67.tar.xz yuzu-e17fb5ee97dab16c73b017393b6544847e9aef67.tar.zst yuzu-e17fb5ee97dab16c73b017393b6544847e9aef67.zip |
Diffstat (limited to 'src/video_core/renderer_opengl/gl_shader_decompiler.cpp')
-rw-r--r-- | src/video_core/renderer_opengl/gl_shader_decompiler.cpp | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/src/video_core/renderer_opengl/gl_shader_decompiler.cpp b/src/video_core/renderer_opengl/gl_shader_decompiler.cpp index 2c49aeaac..053bae87b 100644 --- a/src/video_core/renderer_opengl/gl_shader_decompiler.cpp +++ b/src/video_core/renderer_opengl/gl_shader_decompiler.cpp @@ -1952,10 +1952,6 @@ private: return {fmt::format("({} != 0)", carry), Type::Bool}; } - Expression LogicalFIsNan(Operation operation) { - return GenerateUnary(operation, "isnan", Type::Bool, Type::Float); - } - Expression LogicalAssign(Operation operation) { const Node& dest = operation[0]; const Node& src = operation[1]; @@ -2771,15 +2767,6 @@ private: return std::min<u32>(device.GetMaxVaryings(), Maxwell::NumVaryings); } - bool IsRenderTargetEnabled(u32 render_target) const { - for (u32 component = 0; component < 4; ++component) { - if (header.ps.IsColorComponentOutputEnabled(render_target, component)) { - return true; - } - } - return false; - } - const Device& device; const ShaderIR& ir; const Registry& registry; |