diff options
author | ReinUsesLisp <reinuseslisp@airmail.cc> | 2019-01-05 05:00:06 +0100 |
---|---|---|
committer | ReinUsesLisp <reinuseslisp@airmail.cc> | 2019-01-30 04:11:02 +0100 |
commit | 52c326c301c2df30833efd85f14b03bc75f92bdb (patch) | |
tree | 765adbfe1b677d01d8148b5e1888ff6e1d571de7 /src/video_core/renderer_opengl/gl_shader_decompiler.h | |
parent | Merge pull request #1960 from ReinUsesLisp/shader-ir-ldg (diff) | |
download | yuzu-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.h | 12 |
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{}; |