Add support for MTLDevice.newLibraryWithData:error #699
Labels
A-dispatch2
Affects the `dispatch2` crate
A-framework
Affects the framework crates and the translator for them
enhancement
New feature or request
Would it be possible to get
MTLDevice.newLibraryWithData:error
implemented?https://developer.apple.com/documentation/metal/mtldevice/makelibrary(data:)?language=objc
It would be highly beneficial to implement
MTLDevice.newLibraryWithData:error
as it allows embedding compiled Metal library code directly into the binary. This eliminates the need to load shaders from separate files, saving time and improving performance.I understand that this requires dispatch support—how complex would this be to implement?
Thank you for considering this feature!
The text was updated successfully, but these errors were encountered: