diff options
author | bunnei <bunneidev@gmail.com> | 2019-12-22 20:25:13 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-12-22 20:25:13 +0100 |
commit | 0f3ac9cfeba1d60854dfbbddeb2c0cff21398a87 (patch) | |
tree | cf88606abb342c0707e2dbc48bdb7c25c7b34338 /src/video_core/textures/decoders.h | |
parent | Merge pull request #3237 from ReinUsesLisp/vk-shader-decompiler (diff) | |
parent | Texture Cache: Improve documentation (diff) | |
download | yuzu-0f3ac9cfeba1d60854dfbbddeb2c0cff21398a87.tar yuzu-0f3ac9cfeba1d60854dfbbddeb2c0cff21398a87.tar.gz yuzu-0f3ac9cfeba1d60854dfbbddeb2c0cff21398a87.tar.bz2 yuzu-0f3ac9cfeba1d60854dfbbddeb2c0cff21398a87.tar.lz yuzu-0f3ac9cfeba1d60854dfbbddeb2c0cff21398a87.tar.xz yuzu-0f3ac9cfeba1d60854dfbbddeb2c0cff21398a87.tar.zst yuzu-0f3ac9cfeba1d60854dfbbddeb2c0cff21398a87.zip |
Diffstat (limited to 'src/video_core/textures/decoders.h')
-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; } |