summaryrefslogtreecommitdiff
path: root/src/video_core/buffer_cache
diff options
context:
space:
mode:
authorGravatar Franco M2023-10-18 01:06:58 -0300
committerGravatar GitHub2023-10-18 01:06:58 -0300
commit59b6ada7b7ef44ca883613567459b7156e55e1c8 (patch)
treeab8892a2edf7ef24be813ce45726ed9f053a48fd /src/video_core/buffer_cache
parentFinal refactorization (diff)
parentMerge pull request #11774 from liamwhite/refcount-issue (diff)
downloadyuzu-59b6ada7b7ef44ca883613567459b7156e55e1c8.tar.gz
yuzu-59b6ada7b7ef44ca883613567459b7156e55e1c8.tar.xz
yuzu-59b6ada7b7ef44ca883613567459b7156e55e1c8.zip
Merge branch 'yuzu-emu:master' into new-shortcut
Diffstat (limited to 'src/video_core/buffer_cache')
-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 c4f6e8d12..eed267361 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;
62using VideoCore::Surface::PixelFormat; 62using VideoCore::Surface::PixelFormat;
63using namespace Common::Literals; 63using namespace Common::Literals;
64 64
65#ifdef __APPLE__
66constexpr u32 NUM_VERTEX_BUFFERS = 16;
67#else
65constexpr u32 NUM_VERTEX_BUFFERS = 32; 68constexpr u32 NUM_VERTEX_BUFFERS = 32;
69#endif
66constexpr u32 NUM_TRANSFORM_FEEDBACK_BUFFERS = 4; 70constexpr u32 NUM_TRANSFORM_FEEDBACK_BUFFERS = 4;
67constexpr u32 NUM_GRAPHICS_UNIFORM_BUFFERS = 18; 71constexpr u32 NUM_GRAPHICS_UNIFORM_BUFFERS = 18;
68constexpr u32 NUM_COMPUTE_UNIFORM_BUFFERS = 8; 72constexpr u32 NUM_COMPUTE_UNIFORM_BUFFERS = 8;