diff options
author | ReinUsesLisp <reinuseslisp@airmail.cc> | 2019-05-10 09:17:48 +0200 |
---|---|---|
committer | ReinUsesLisp <reinuseslisp@airmail.cc> | 2019-06-21 02:36:12 +0200 |
commit | 345e73f2feb0701e3c3099d002a1c21fb524eae4 (patch) | |
tree | c8c934dfec804d04a29f8ee27124274f5f999fb8 /src/video_core/textures/decoders.h | |
parent | texture_cache: Change internal cache from lists to vectors (diff) | |
download | yuzu-345e73f2feb0701e3c3099d002a1c21fb524eae4.tar yuzu-345e73f2feb0701e3c3099d002a1c21fb524eae4.tar.gz yuzu-345e73f2feb0701e3c3099d002a1c21fb524eae4.tar.bz2 yuzu-345e73f2feb0701e3c3099d002a1c21fb524eae4.tar.lz yuzu-345e73f2feb0701e3c3099d002a1c21fb524eae4.tar.xz yuzu-345e73f2feb0701e3c3099d002a1c21fb524eae4.tar.zst yuzu-345e73f2feb0701e3c3099d002a1c21fb524eae4.zip |
Diffstat (limited to '')
-rw-r--r-- | src/video_core/textures/decoders.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/video_core/textures/decoders.h b/src/video_core/textures/decoders.h index e072d8401..eaec9b5a5 100644 --- a/src/video_core/textures/decoders.h +++ b/src/video_core/textures/decoders.h @@ -12,8 +12,8 @@ namespace Tegra::Texture { // GOBSize constant. Calculated by 64 bytes in x multiplied by 8 y coords, represents // an small rect of (64/bytes_per_pixel)X8. -inline std::size_t GetGOBSize() { - return 512; +inline std::size_t GetGOBSizeShift() { + return 9; } /// Unswizzles a swizzled texture without changing its format. |