summaryrefslogtreecommitdiffstats
path: root/src/video_core/shader/glsl_decompiler.h
diff options
context:
space:
mode:
authorReinUsesLisp <reinuseslisp@airmail.cc>2018-12-21 07:39:46 +0100
committerReinUsesLisp <reinuseslisp@airmail.cc>2019-01-15 21:54:52 +0100
commit21aff36459f73ddb96a7909b6094e4f9c5b9c3fb (patch)
tree35cf1ee84b320a77029c79093f911a975f71c9f9 /src/video_core/shader/glsl_decompiler.h
parentshader_ir: Fixup file inclusions and clang-format (diff)
downloadyuzu-21aff36459f73ddb96a7909b6094e4f9c5b9c3fb.tar
yuzu-21aff36459f73ddb96a7909b6094e4f9c5b9c3fb.tar.gz
yuzu-21aff36459f73ddb96a7909b6094e4f9c5b9c3fb.tar.bz2
yuzu-21aff36459f73ddb96a7909b6094e4f9c5b9c3fb.tar.lz
yuzu-21aff36459f73ddb96a7909b6094e4f9c5b9c3fb.tar.xz
yuzu-21aff36459f73ddb96a7909b6094e4f9c5b9c3fb.tar.zst
yuzu-21aff36459f73ddb96a7909b6094e4f9c5b9c3fb.zip
Diffstat (limited to '')
-rw-r--r--src/video_core/shader/glsl_decompiler.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/video_core/shader/glsl_decompiler.h b/src/video_core/shader/glsl_decompiler.h
index 7be461f1b..396a560d8 100644
--- a/src/video_core/shader/glsl_decompiler.h
+++ b/src/video_core/shader/glsl_decompiler.h
@@ -63,7 +63,7 @@ public:
}
u32 GetHash() const {
- return (static_cast<u32>(stage) << 16) | GetIndex();
+ return (static_cast<u32>(stage) << 16) | static_cast<u32>(GetIndex());
}
private: