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

PixelShaderGen: Fix UID issues. #4291

Merged
merged 3 commits into from Oct 5, 2016
Merged

Conversation

degasus
Copy link
Member

@degasus degasus commented Oct 4, 2016

This PR fixes all global state accesses within the shader generators. So now all of the state is either the UID, or hardware features. This allows us to use the UID to generate and cache shaders.

This is a split of PR #4257


This change is Reviewable

Our shaders must only depend on the UID, not on any global state.
This warning was raised both on UID generation and on shader generation.
@stenzek
Copy link
Contributor

stenzek commented Oct 5, 2016

:lgtm:


Reviewed 13 of 13 files at r1.
Review status: all files reviewed at latest revision, all discussions resolved.


Comments from Reviewable

@degasus degasus merged commit ef1bfc2 into dolphin-emu:master Oct 5, 2016
@degasus degasus deleted the shader_gen branch February 3, 2019 22:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants