(03-23-2018, 08:17 AM)VinDuv Wrote: I’m not a core Dolphin developper, but I’ve decided to take a look at this.
At expected, there isn’t too much to change in Dolphin to get MoltenVK running. I’ve pushed my changes here: https://github.com/VinDuv/dolphin/tree/moltenvk
For now, the MoltenVK lib (libMoltenVK.dylib — can be built from https://github.com/KhronosGroup/MoltenVK) needs to be copied in the Dolphin app bundle, in the same directory as the executable (in Dolphin.app/Contents/MacOS)
For the moment, basically nothing worksA Metal assertion error is hit during initialization, which looks like this MoltenVK bug.
I’ve applied the workaround indicated in the bug report, and the emulation starts… except that some shaders fail to compileIt seems like it’s caused by other MoltenVK issues; I’ve opened a bug report about it.
So basically, MoltenVK looks promising, but for now using Dolphin with it won’t display much more than a black screen (the rendering statistics do show up though!)
Using your MoltenVK version, with the latest changes to the github repository for Spir-V Cross which addressed dual-source blending (and the depth clear patch applied to MVK), i was actually able to get a game (Smash Bros Brawl) running and displaying video! although it seemed to have had a small error which caused it to crash (i'm unsure the cause though). It seems that if MVK was supported, it would be fairly quick merging the changes between the Vulkan codebase and it to support Mac, given how much works with little changes to the VK codebase.

A Metal assertion error is hit during initialization, which looks like
It seems like it’s caused by other MoltenVK issues; I’ve opened a