summaryrefslogtreecommitdiffstats
path: root/src/video_core/renderer_opengl/gl_shader_decompiler.h
diff options
context:
space:
mode:
authorReinUsesLisp <reinuseslisp@airmail.cc>2019-01-05 05:00:06 +0100
committerReinUsesLisp <reinuseslisp@airmail.cc>2019-01-30 04:11:02 +0100
commit52c326c301c2df30833efd85f14b03bc75f92bdb (patch)
tree765adbfe1b677d01d8148b5e1888ff6e1d571de7 /src/video_core/renderer_opengl/gl_shader_decompiler.h
parentMerge pull request #1960 from ReinUsesLisp/shader-ir-ldg (diff)
downloadyuzu-52c326c301c2df30833efd85f14b03bc75f92bdb.tar
yuzu-52c326c301c2df30833efd85f14b03bc75f92bdb.tar.gz
yuzu-52c326c301c2df30833efd85f14b03bc75f92bdb.tar.bz2
yuzu-52c326c301c2df30833efd85f14b03bc75f92bdb.tar.lz
yuzu-52c326c301c2df30833efd85f14b03bc75f92bdb.tar.xz
yuzu-52c326c301c2df30833efd85f14b03bc75f92bdb.tar.zst
yuzu-52c326c301c2df30833efd85f14b03bc75f92bdb.zip
Diffstat (limited to 'src/video_core/renderer_opengl/gl_shader_decompiler.h')
-rw-r--r--src/video_core/renderer_opengl/gl_shader_decompiler.h12
1 files changed, 0 insertions, 12 deletions
diff --git a/src/video_core/renderer_opengl/gl_shader_decompiler.h b/src/video_core/renderer_opengl/gl_shader_decompiler.h
index e47bc3729..0856a1361 100644
--- a/src/video_core/renderer_opengl/gl_shader_decompiler.h
+++ b/src/video_core/renderer_opengl/gl_shader_decompiler.h
@@ -38,10 +38,6 @@ public:
return index;
}
- u32 GetHash() const {
- return (static_cast<u32>(stage) << 16) | index;
- }
-
private:
std::string name;
Maxwell::ShaderStage stage{};
@@ -62,10 +58,6 @@ public:
return stage;
}
- u32 GetHash() const {
- return (static_cast<u32>(stage) << 16) | static_cast<u32>(GetIndex());
- }
-
private:
std::string name;
Maxwell::ShaderStage stage{};
@@ -93,10 +85,6 @@ public:
return stage;
}
- u32 GetHash() const {
- return (static_cast<u32>(stage) << 24) | (cbuf_index << 16) | cbuf_offset;
- }
-
private:
u32 cbuf_index{};
u32 cbuf_offset{};