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

Allow post-processing shaders to query reciprocal of window resolution #9640

Merged
merged 1 commit into from Jul 5, 2021

Conversation

v1993
Copy link
Contributor

@v1993 v1993 commented Apr 13, 2021

Those two floats were not used anyways and this mirrors how it's done for framebuffer resolution.

In post-processing shader use GetInvWindowResolution() to get reciprocal of window resolution.

@v1993
Copy link
Contributor Author

v1993 commented Jul 5, 2021

Probably this can be merged before it falls into obscurity? It's a fairly minor change anyways.

@iwubcode
Copy link
Contributor

iwubcode commented Jul 5, 2021

@v1993 - slight spoiler but even if this doesn't get merged, I'm currently working on a whole rewrite of the post-processing system. And I have this included.

@JMC47
Copy link
Contributor

JMC47 commented Jul 5, 2021

Do you prefer this gets merged now, separately or should we wait for the bigger rewrite?

@iwubcode
Copy link
Contributor

iwubcode commented Jul 5, 2021

@JMC47 - either is ok. This file goes away in the rewrite so it's fine to merge this now if @v1993 has personal reasons for wanting this merged.

@v1993
Copy link
Contributor Author

v1993 commented Jul 5, 2021

Yeah, it would be nice if this got merged. Patching dolphin after each git pull isn't great.

@JMC47 JMC47 merged commit 6cc195e into dolphin-emu:master Jul 5, 2021
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants