diff options
author | Fernando Sahmkow <fsahmkow27@gmail.com> | 2019-12-08 18:13:18 +0100 |
---|---|---|
committer | FernandoS27 <fsahmkow27@gmail.com> | 2019-12-22 17:24:34 +0100 |
commit | 51c9e98677395564a4fafeaba718cbd2263541bb (patch) | |
tree | 7546b488cf1753f227ba9e409a96ff247bc5ae73 /src/video_core/textures/decoders.h | |
parent | Merge pull request #3230 from ReinUsesLisp/vk-emu-shaders (diff) | |
download | yuzu-51c9e98677395564a4fafeaba718cbd2263541bb.tar yuzu-51c9e98677395564a4fafeaba718cbd2263541bb.tar.gz yuzu-51c9e98677395564a4fafeaba718cbd2263541bb.tar.bz2 yuzu-51c9e98677395564a4fafeaba718cbd2263541bb.tar.lz yuzu-51c9e98677395564a4fafeaba718cbd2263541bb.tar.xz yuzu-51c9e98677395564a4fafeaba718cbd2263541bb.tar.zst yuzu-51c9e98677395564a4fafeaba718cbd2263541bb.zip |
Diffstat (limited to '')
-rw-r--r-- | src/video_core/textures/decoders.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/video_core/textures/decoders.h b/src/video_core/textures/decoders.h index f1e3952bc..e5eac3f3b 100644 --- a/src/video_core/textures/decoders.h +++ b/src/video_core/textures/decoders.h @@ -12,6 +12,10 @@ 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; } |