Is it possible to dynamically compile a shader (at runtime) using something like MTLDevices makeLibrary, and convert that over to a SwiftUI ShaderLibrary?
In theory it looks like it should be possible - ShaderLibrary can be initialised with a data parameter which according to the docs is a compiled shader library, but I'm not sure how I'd go about converting a MTLLibrary to data.
Is this possible at all?
Post
Replies
Boosts
Views
Activity
Following the sample notes at https://developer.apple.com/documentation/widgetkit/creating-lock-screen-widgets-and-watch-complications, when I try to preview the Watch widget, I get an error saying:
Cannot preview in this file
WidgetEntryPointFactory' does not conform to NonUIEntryPoint
RemoteHumanReadableError: Type 'WidgetEntryPointFactory' does not conform to NonUIEntryPoint (in framework at path /System/Library/PrivateFrameworks/ChronoCore.framework/Support/WidgetPreviewsExtensionAgent.bundle)
==================================
| MessageSendFailure: Message send failure for <ServiceMessage 187: update>
App widgets preview fine though.
Am I doing something obviously wrong?
When trying to connect to another Mac running Big Sur (beta 5) using file sharing (smb or afp), it won't accept the username/password. The dialog just shakes and won't connect.
I could connect from a Mac running Bug Sur to another Mac running Catalina fine but not the other way around.
Anyone got a workaround?
Reported as FB8520247