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

DolphinAnalytics: Track support of framebuffer fetch #11396

Merged
merged 4 commits into from
Jan 3, 2023

Conversation

Pokechu22
Copy link
Contributor

This PR adds the presence of fbfetch support to the analytics system. Based on #11387 it looks like fbfetch will be needed to accurately emulate blending behavior (impacting bloom in some games, as well as the menus in mario kart wii and a white box on fortune street, although we have a separate hack that fixes those), so it would be good to know how many users actually will have access to it.

This PR also checks for support of GL_EXT_shader_framebuffer_fetch on regular OpenGL, instead of just OpenGL ES. Intel GPUs support it. I think the only effects of this are that ubershaders will use fbfetch and the fbfetch fallback becomes available if logic ops or dual source blend aren't supported. (Side note: it looks like analytics also tracks dual source blend support, but doesn't track logic ops support. Is that something worth adding?)

@Pokechu22
Copy link
Contributor Author

@iwubcode Thoughts on also adding logic ops to the analytics? Since fbfetch is one of the fallbacks for lack of logic ops support it would be good to have information about what devices support multiple implementations.

@iwubcode
Copy link
Contributor

iwubcode commented Jan 3, 2023

I can't imagine adding that additional analytic would have any negative impact. And as you mentioned, having that data would be helpful. I say add it (either this PR or a new one, up to you)

(as an aside, it would be helpful to add the url to the readme or somewhere else, as I never remember it)

Unverified

This user has not yet uploaded their public signing key.
This was broken in 3570c7f.
GL_EXT_shader_framebuffer_fetch is not restricted to GLES (although GL_ARM_shader_framebuffer_fetch is), and is available on Intel GPUs.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants