-
-
Notifications
You must be signed in to change notification settings - Fork 21.5k
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
Fix CanvasOcclusionShaderRD format error with double precision build. #85822
Conversation
I'm surprised this is only causing issues on macOS, native Vulkan support for this format doesn't look great either: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As Sakrel pointed out, 64 bit vertex formats are not well supported on Vulkan devices. Additionally, they can lead to nasty crashes even on "supported" devices.
I would just remove the ability to use 64 bits here and make everything use the new codepath that you have added for Mac
Done. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great! Thanks for the quick update
Thanks! |
Cherry-picked for 4.2.2. |
Fixes 2D shadows in the double precision build.
MoltenVK can't use 64-bit formats since Metal doesn't support it.
Fixes #70879
Fixes #78008