summaryrefslogtreecommitdiffstats
path: root/src/video_core
diff options
context:
space:
mode:
authorFeng Chen <vonchenplus@gmail.com>2023-08-22 17:27:31 +0200
committerFeng Chen <vonchenplus@gmail.com>2023-08-23 17:22:55 +0200
commitcc4736fa58d49894d6d199c72331644a01398591 (patch)
tree968ca70e6ff1892d8485a4407adf2538603a092c /src/video_core
parentMerge pull request #11302 from vonchenplus/vulkan_macos (diff)
downloadyuzu-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/video_core')
-rw-r--r--src/video_core/buffer_cache/buffer_cache_base.h4
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;