diff options
author | ReinUsesLisp <reinuseslisp@airmail.cc> | 2019-09-06 04:25:15 +0200 |
---|---|---|
committer | ReinUsesLisp <reinuseslisp@airmail.cc> | 2019-09-06 04:25:15 +0200 |
commit | 7228e22098dd97ac89b78484a4f3ee855e37f799 (patch) | |
tree | fb8689f49635886aafbff8c4e2fc84dc6d08587c /src/video_core/texture_cache/surface_view.cpp | |
parent | gl_rasterizer: Apply textures and images state (diff) | |
download | yuzu-7228e22098dd97ac89b78484a4f3ee855e37f799.tar yuzu-7228e22098dd97ac89b78484a4f3ee855e37f799.tar.gz yuzu-7228e22098dd97ac89b78484a4f3ee855e37f799.tar.bz2 yuzu-7228e22098dd97ac89b78484a4f3ee855e37f799.tar.lz yuzu-7228e22098dd97ac89b78484a4f3ee855e37f799.tar.xz yuzu-7228e22098dd97ac89b78484a4f3ee855e37f799.tar.zst yuzu-7228e22098dd97ac89b78484a4f3ee855e37f799.zip |
Diffstat (limited to '')
-rw-r--r-- | src/video_core/texture_cache/surface_view.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/video_core/texture_cache/surface_view.cpp b/src/video_core/texture_cache/surface_view.cpp index 467696a4c..57a1f5803 100644 --- a/src/video_core/texture_cache/surface_view.cpp +++ b/src/video_core/texture_cache/surface_view.cpp @@ -10,7 +10,7 @@ namespace VideoCommon { std::size_t ViewParams::Hash() const { - return static_cast<std::size_t>(base_layer) ^ static_cast<std::size_t>(num_layers << 16) ^ + return static_cast<std::size_t>(base_layer) ^ (static_cast<std::size_t>(num_layers) << 16) ^ (static_cast<std::size_t>(base_level) << 24) ^ (static_cast<std::size_t>(num_levels) << 32) ^ (static_cast<std::size_t>(target) << 36); } |