Chip Davis

Results 108 comments of Chip Davis

> I left out a very important detail. **This only happens on macOS**. Are you on an Intel Mac, or an Apple Silicon Mac?

> * I have never encountered an `Uncaught selector, -[CAMetalDrawable addPresentedHandler:]` error. Do we know why it is being triggered? I don't know, but if I had to guess, I'd...

> Why does SDL have this type of drawable? Because SDL does not create a `CAMetalLayer` directly. Instead, it creates an `NSView` and uses `wantsUpdateLayer` and `layerClass` to request a...

Your screenshot suggests the actual presentation to the window is occurring before the compute pass completes. Is your compute shader outputting directly to the swapchain image? If so, did you...

OK, so that's not it... From [your code][1], your engine may start multiple compute passes--however, only one semaphore is passed to `endRender()`. Does it work reliably if you have presentation...

So that's not it either. Looks like we have a real bug here, either in MoltenVK or in Metal, but I'll need to investigate this further. Can you capture a...

It's all there in [the MoltenVK User Guide][1]. [1]: https://github.com/KhronosGroup/MoltenVK/blob/main/Docs/MoltenVK_Runtime_UserGuide.md#gpu-capture

I should point out one other thing: the resulting GPU trace will be contained in a bundle (i.e. a directory that the Finder treats as a single file), which you...

I still have x86 hardware. As long as macOS continues to support x86 Macs, I think it's worth keeping this open.

Based on [this line](https://github.com/fknfilewalker/evk/blob/cb456071d26d80c4915765dd74c023d5c9345f5c/src/imgui_backend.cpp#L221), you appear to be using `VK_EXT_vertex_input_dynamic_state`, which we don't support. This extension is distinct from the `VK_EXT_extended_dynamic_state` extensions that we _do_ support.