diff options
author | Feng Chen <vonchenplus@gmail.com> | 2023-08-22 17:27:31 +0200 |
---|---|---|
committer | Feng Chen <vonchenplus@gmail.com> | 2023-08-23 17:22:55 +0200 |
commit | cc4736fa58d49894d6d199c72331644a01398591 (patch) | |
tree | 968ca70e6ff1892d8485a4407adf2538603a092c /src | |
parent | Merge pull request #11302 from vonchenplus/vulkan_macos (diff) | |
download | yuzu-cc4736fa58d49894d6d199c72331644a01398591.tar yuzu-cc4736fa58d49894d6d199c72331644a01398591.tar.gz yuzu-cc4736fa58d49894d6d199c72331644a01398591.tar.bz2 yuzu-cc4736fa58d49894d6d199c72331644a01398591.tar.lz yuzu-cc4736fa58d49894d6d199c72331644a01398591.tar.xz yuzu-cc4736fa58d49894d6d199c72331644a01398591.tar.zst yuzu-cc4736fa58d49894d6d199c72331644a01398591.zip |
Diffstat (limited to 'src')
-rw-r--r-- | src/video_core/buffer_cache/buffer_cache_base.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/video_core/buffer_cache/buffer_cache_base.h b/src/video_core/buffer_cache/buffer_cache_base.h index 0b7135d49..fdc26688d 100644 --- a/src/video_core/buffer_cache/buffer_cache_base.h +++ b/src/video_core/buffer_cache/buffer_cache_base.h @@ -62,7 +62,11 @@ using BufferId = SlotId; using VideoCore::Surface::PixelFormat; using namespace Common::Literals; +#ifdef __APPLE__ +constexpr u32 NUM_VERTEX_BUFFERS = 16; +#else constexpr u32 NUM_VERTEX_BUFFERS = 32; +#endif constexpr u32 NUM_TRANSFORM_FEEDBACK_BUFFERS = 4; constexpr u32 NUM_GRAPHICS_UNIFORM_BUFFERS = 18; constexpr u32 NUM_COMPUTE_UNIFORM_BUFFERS = 8; |