Post

Replies

Boosts

Views

Activity

Xcode crashing when debugging shaders for macOS app
Using Xcode 14.0.1, but also happened the previous version: Run my Vulkan (MoltenVK) app, runs and renders fine. Press on the "M" Metal frame capture tool in Xcode, and capture 1 frame. Frame data looks good, multiple passes, framebuffers, textures all looking good. Click on the frame's queue submit point in the Metal debugger. Click on the "bug" symbol to debug shaders. Click on a pixel on the fragment shader selector dialog and click the "bug" icon there to debug that pixel in the fragment shader. => Crashes after I start inspecting the shader source, clicking on different likes to see values, etc. Happens very often, making this otherwise awesome set of GPU tools useless. More info: shaders compiled with glslc (shaderc v2022.2 v2022.2, spirv-tools v2022.4-dev v2022.3-2-g3a8a961c, glslang 11.1.0-533-gf771c129, Target: SPIR-V 1.0). The Vulkan SDK uses MoltenVK to translate to Metal (I understand it's a relatively thin layer). Other Metal/GPU frame inspection and GPU profiling tools seem to work great, only the metal shader debugger is crashing. The rest of the experience with the Vulkan SDK on macOS has been great. Thanks.
1
0
1.3k
Oct ’22