Use Ryujinx.MoltenVK 1.4.0
This PR will finally allow macOS users to use newer version of MoltenVK!
FYI, Ryujinx had to use MoltenVK 1.2.0 (2022) version because of some regressions, I’ve made custom fork of MoltenVK specifically for Ryujinx and removed commits that caused issues.
There's some performance improvements and fixes.
I did my best to test it by myself, and it seems to be working with no crashes or any visual glitches, although there will be some games that Ryujinx might render incorrectly so it is not issue of MoltenVK.
I removed “invalid resource error” workaround for MoltenVK which caused crash to see if its still needed, as I had no crashes with this error.
- Replace NuGet package Ryujinx.Graphics.Vulkan.Dependencies.MoltenVK (1.2.0) with Ryujinx.MoltenVK (1.4.0).
- Enable push descriptors for MoltenVK but limit them to 16.
- Temporarily remove invalid resource error workaround for MoltenVK.
- Improve logic in construct_universal_dylib.py as libMoltenVK.dylib provided by Ryujinx.MoltenVK is FAT Mach-O with single architecture.