summaryrefslogtreecommitdiffstats
path: root/src/video_core/shader/glsl_decompiler.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/video_core/shader/glsl_decompiler.h')
-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: