Walker M. White
Walker M. White
Thanks for the response. I left out a very important detail. **This only happens on macOS**. iOS is completely fine. If it matters, I am running Ventura 13.6.6 (keep meaning...
> Are you on an Intel Mac, or an Apple Silicon Mac? Apple SIlicon (M2 Max)
> I _suspect_ this is because draw/present are on the `same thread` as polling. In my application, the UI thread with SDL polling _is separate_ from the draw / presentation...
> What object is being passed to `vkCreateMetalSurfaceEXT()`? It needs to be a `CAMetalLayer` for this to work. This is the relevant code in `SDL_cocoavulkan.m`. It is indeed a `CAMetalLayer`....
Based upon @SRSaunders observation about Sascha Willem's code, I decided to do my own digging. I am not sure I have any answers, but I have some interesting data. To...
I will add that if this turns out to be an Apple problem, it would be nice to add a guard like the one @SRSaunders proposed as we should not...
> The name `CaptureMTLDrawable` suggests it is related to Metal frame capture. Are you running with frame capture enabled? Does SDL and/or GLFW enable it? Aha! That was indeed it....
> What version of macOS and Xcode are you using? Ventura 13.6.6 on a M2 Max. I have the last Xcode update for Ventura, which is version 15.2 (15C500b). I...
Follow-up. I finally installed Sonoma and can now run XCode 15.4. The problem is **gone**. Apparently this is an XCode bug and it only affects Ventura users.
@spencer-lunarg Oh, wait. I see now. I am calling ` vkResetCommandBuffer(_primary, /*VkCommandBufferResetFlagBits*/ 0); ` which is what is shown in just about every tutorial online. According to documentation, that is...