Skip to content
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

GL: new "apple-crashy-msaa-default-framebuffer" workaround #664

Draft
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

mosra
Copy link
Owner

@mosra mosra commented Feb 26, 2025

A suggestion from @DavidPeicho turned into a builtin workaround.

Unfortunately I apparently reduced it way too much so it doesn't actually fix the issue anymore, likely because originally it was done together with a dummy draw and now it isn't, so that needs to be investigated and fixed first. Maybe just a framebuffer clear could help? I hope I don't need to create a dummy shader and all that as well...

mosra and others added 3 commits February 18, 2025 20:07
There's an increasing number of projects that use ANGLE or Zink on that
platform, and this workaround makes no sense there.
First spotted in July 2024 with magnum-player, and back then the only
reliable solution was to disable MSAA altogether. Fortunately this fixes
it as well, unfortunately there's no way to know if the default
framebuffer is actually multisampled, so it's done always.

Co-authored-by: Vladimír Vondruš <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: TODO
Development

Successfully merging this pull request may close these issues.

2 participants