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

VideoCommon: update shader asset to provide a variant default value #12382

Merged
merged 1 commit into from Dec 17, 2023

Conversation

iwubcode
Copy link
Contributor

Mirroring the logic done in #12240 this adds a default value variant to the shader asset. This value will be used to populate a material when it is initially created from a shader (and allowing the user to reset a modified value to the default if desired).

We also use the type information from the variant instead of an explicit type enum.

@iwubcode
Copy link
Contributor Author

No functional changes from Tellow's approval, just fixed a conflict from a static keyword :)

@lioncash lioncash merged commit b27c15f into dolphin-emu:master Dec 17, 2023
11 checks passed
@iwubcode iwubcode deleted the shader_asset_default_value branch December 17, 2023 19:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants