summaryrefslogtreecommitdiffstats
path: root/src/video_core/renderer_opengl/gl_shader_decompiler.cpp
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2020-07-24 04:54:59 +0200
committerGitHub <noreply@github.com>2020-07-24 04:54:59 +0200
commit1d7de0a8ee04713c5d8011f379524ff53cb8c483 (patch)
tree5882cfedf9f540b858b169503e1362ff5a59d3d3 /src/video_core/renderer_opengl/gl_shader_decompiler.cpp
parentMerge pull request #4353 from ameerj/gc-refactor (diff)
parentvideo_core: Remove unused variables (diff)
downloadyuzu-1d7de0a8ee04713c5d8011f379524ff53cb8c483.tar
yuzu-1d7de0a8ee04713c5d8011f379524ff53cb8c483.tar.gz
yuzu-1d7de0a8ee04713c5d8011f379524ff53cb8c483.tar.bz2
yuzu-1d7de0a8ee04713c5d8011f379524ff53cb8c483.tar.lz
yuzu-1d7de0a8ee04713c5d8011f379524ff53cb8c483.tar.xz
yuzu-1d7de0a8ee04713c5d8011f379524ff53cb8c483.tar.zst
yuzu-1d7de0a8ee04713c5d8011f379524ff53cb8c483.zip
Diffstat (limited to 'src/video_core/renderer_opengl/gl_shader_decompiler.cpp')
-rw-r--r--src/video_core/renderer_opengl/gl_shader_decompiler.cpp13
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 6a9602ff8..1b1c97239 100644
--- a/src/video_core/renderer_opengl/gl_shader_decompiler.cpp
+++ b/src/video_core/renderer_opengl/gl_shader_decompiler.cpp
@@ -1959,10 +1959,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];
@@ -2778,15 +2774,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;