metal: add info about command recorder memory leaks

This commit is contained in:
Samuliak 2024-04-06 12:42:19 +02:00
parent 863842948b
commit 789bc69281

View file

@ -47,6 +47,8 @@ public:
private:
const Device& device;
// HACK: Command buffers and encoders currently aren't released every frame due to Xcode
// crashing in Debug mode. This leads to memory leaks
MTLCommandBuffer_t command_buffer = nil;
MTLCommandEncoder_t encoder = nil;