-
Notifications
You must be signed in to change notification settings - Fork 62
Closed
Labels
A-dispatch2Affects the `dispatch2` crateAffects the `dispatch2` crateA-frameworkAffects the framework crates and the translator for themAffects the framework crates and the translator for themenhancementNew feature or requestNew feature or request
Description
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!
MarijnS95
Metadata
Metadata
Assignees
Labels
A-dispatch2Affects the `dispatch2` crateAffects the `dispatch2` crateA-frameworkAffects the framework crates and the translator for themAffects the framework crates and the translator for themenhancementNew feature or requestNew feature or request