Skip to content

Commit

Permalink
Add missing comment about query pool size limits on MacOS
Browse files Browse the repository at this point in the history
  • Loading branch information
Valakor committed Jan 8, 2024
1 parent d41b2bf commit 6e3cbbf
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/Remotery.c
Original file line number Diff line number Diff line change
Expand Up @@ -10464,6 +10464,8 @@ RMT_API rmtError _rmt_BindVulkan(void* instance, void* physical_device, void* de
bind->base.device = device;
bind->base.queue = queue;
#ifdef RMT_PLATFORM_MACOS
// NOTE(valakor): Vulkan on MacOS via MoltenVK only supports timestamp query pools of up to 4k 64-bit queries. See
// https://github.com/KhronosGroup/MoltenVK/blob/main/MoltenVK/MoltenVK/GPUObjects/MVKQueryPool.mm
bind->maxNbQueries = 4 * 1024;
#else
bind->maxNbQueries = 32 * 1024;
Expand Down

0 comments on commit 6e3cbbf

Please sign in to comment.