-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
[3rdParty] Update MoltenVK to 1.3.236 & set MSL Fastmath to On Demand #13035
Conversation
Error message:
According to MVK this option is an enum, not a bool:
Not sure what would be preferable, but I think NEVER for off, and ON_DEMAND for on? |
fastMathEnabled now has three options: NEVER = 0 ALWAYS = 1 ON_DEMAND = 2 On demand seems better, since it will use fast math except for shaders that are incompatible.
This is working now. The GUI option is Off and On Demand. Having Always as an option seems a bit pointless. However, I'm wondering if using On Demand by default makes the settings option useless? Should it just be removed from the GUI? Or alternatively we could change the option from an on/off toggle to a dropdown with all three options? Feedback appreciated. |
I haven't read through the moltenVK code to figure out why this option is present. As for usefulness, its pretty much pointless as we have a global "shader quality" config as well that does a similar thing. |
List of fixes and changes here.
Testing:
Check that the macOS CI build still works