Hi All, I tried using the new metal tools for compiling Metal shaders at build time (as explained in this session https://developer.apple.com/videos/play/wwdc2022/10102/), but I got some errors.
In particular:
the command "metal shadersfilename.metal -N descriptors.mtlp-json -o archive.metallib" complains about the -N argument.
the command "metal-tt shaders.metallib descriptors.mtlp-json -o archive.metallib" doesn't seem to recognise the JSON format.
Also the command to extract the JSON pipeline from a binary archive (metal-source) fails.
I'm using Xcode 14.0 beta (14A5228q) on macOS Ventura beta.
Are the new Metal tools for offline compilation already available (and I'm simply doing something wrong) or do I need to wait for next betas?
Thanks!
Post
Replies
Boosts
Views
Activity
In the session it was mentioned that the new unified login has an accelerated UI because the OS is fully loaded even if FileVault is enabled. Does this mean that the WindowServer process is also running and 3rd-party code like pre-login agents (launchd agents) can run at that stage (with the disk still encrypted)?