-
-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
A VisionOS demo project would be a great addition #6
Comments
It appears that MoltenVK does not yet support visionOS. I will include a visionOS demo once I obtain an Apple Silicon MacBook. Contributions via PR are also welcome. |
@cxfksword I thought when they fixed building for VisionOS it would mean it was supported. I hope it gets straightened out |
Any update on this? |
Not fixed yet. KhronosGroup/MoltenVK#1984 |
Hi, I got the same result as above trying to port iOS code to VisionOS : Is there a new version which fixes this issue ? Which one ? Do I need to specify a version to make it work ? |
I was able to launch my Vulkan App with success and shaders working using a patch on MoltenVK. It's working on VisionOS simulator. I did not test on real VisionOS device because I don't have one. I changed some tests on MVKDevice.mm, MVKCommonEnvironnement.h and SPIRVToMSLConverter.cpp. I did not make a PR because I'm not sure that all I've done is ok on real VisionOS device and if I did all correctly. If some people want my sources, I can fork the MoltenVK project or upload modified files. Just ask. |
@HyperCed Great work. I have a Vision Pro I can test on. Could you make a fork and let me know? |
I'd be happy to try as well! |
You can try on https://github.com/HyperCed/MoltenVK |
@HyperCed I downloaded the MoltenVK-all binary from the Github action running your branch. How do I actually get MPVKit to use it? |
You have to compile MoltenVK like this
and then integrate the xcframework in MPVKit project. |
@HyperCed Thanks for the instructions. I managed to get a HDR video playing in the VisionPro with your update. ScreenRecording_11-06-2024.14-54-33_1.mov |
Thanks for this project. I took the tvOS demo project and tried building it for VisionOS. It builds successfully.
It does not play anything. I get a
SIGABRT
fromvo
, caused by libplacebo I believe.It would be great if you could add a VisionOS demo similar to the other OSs. Thanks
The text was updated successfully, but these errors were encountered: