I'm using the WebGPU abstraction library wgpu to build an app using compute shaders that compiles to Metal (on macOS), and in certain patterns where it uses a staging buffer for initial data, the data is just total missing from the capture, breaking other workflows such as shader debugging or seeing the completed results in the final buffer.
I wrote up details including a repro project and screen shots of the issue at https://github.com/gfx-rs/wgpu/issues/8111 . Seems like an Xcode bug. Any ideas? I'm happy to help investigate further if I can.
Thanks for mentioning this and thank you for providing a detailed writeup. I read through, but I'm not sure how to answer your question. I think it would be useful to run this past our engineering teams. And, a good way to do that is by filing a bug.
Won't you please consider filing a bug report that includes a small Xcode project and some directions that can be used to reproduce the problem. If you file a bug, please post the Feedback number here once you do. If you post the Feedback number here I'll check the status next time I do a sweep of forums posts where I've suggested bug reports.
Bug Reporting: How and Why? has tips on creating your bug report.