diff options
author | ReinUsesLisp <reinuseslisp@airmail.cc> | 2020-02-16 08:12:38 +0100 |
---|---|---|
committer | ReinUsesLisp <reinuseslisp@airmail.cc> | 2020-02-16 08:19:32 +0100 |
commit | 6a0220b2e1a0d7692b8f32f66ae7bc86cb63fab7 (patch) | |
tree | 06b9087f7921595d336b98503c0e9fcf25694775 /src/video_core/renderer_vulkan/vk_texture_cache.h | |
parent | Merge pull request #3401 from FernandoS27/synchronization (diff) | |
download | yuzu-6a0220b2e1a0d7692b8f32f66ae7bc86cb63fab7.tar yuzu-6a0220b2e1a0d7692b8f32f66ae7bc86cb63fab7.tar.gz yuzu-6a0220b2e1a0d7692b8f32f66ae7bc86cb63fab7.tar.bz2 yuzu-6a0220b2e1a0d7692b8f32f66ae7bc86cb63fab7.tar.lz yuzu-6a0220b2e1a0d7692b8f32f66ae7bc86cb63fab7.tar.xz yuzu-6a0220b2e1a0d7692b8f32f66ae7bc86cb63fab7.tar.zst yuzu-6a0220b2e1a0d7692b8f32f66ae7bc86cb63fab7.zip |
Diffstat (limited to 'src/video_core/renderer_vulkan/vk_texture_cache.h')
-rw-r--r-- | src/video_core/renderer_vulkan/vk_texture_cache.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/video_core/renderer_vulkan/vk_texture_cache.h b/src/video_core/renderer_vulkan/vk_texture_cache.h index d3edbe80c..22e3d34de 100644 --- a/src/video_core/renderer_vulkan/vk_texture_cache.h +++ b/src/video_core/renderer_vulkan/vk_texture_cache.h @@ -151,6 +151,10 @@ public: return params.GetMipHeight(base_level); } + u32 GetNumLayers() const { + return num_layers; + } + bool IsBufferView() const { return buffer_view; } |