metal: add info about command recorder memory leaks
This commit is contained in:
parent
863842948b
commit
789bc69281
1 changed files with 2 additions and 0 deletions
|
@ -47,6 +47,8 @@ public:
|
||||||
private:
|
private:
|
||||||
const Device& device;
|
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;
|
MTLCommandBuffer_t command_buffer = nil;
|
||||||
MTLCommandEncoder_t encoder = nil;
|
MTLCommandEncoder_t encoder = nil;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue