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

Fold the "materialUpdate" flag into the light-ubershader #16112

Merged
merged 5 commits into from
Sep 26, 2022

Conversation

hrydgard
Copy link
Owner

@hrydgard hrydgard commented Sep 26, 2022

This reduces the number of vertex shaders and thus pipelines by quite a bit more in a few games, like Tekken and GoW, continuing the fight against shader compile stutter.

The perf impact should be minimal if not positive due to less pipeline changes.

Also fixes a bug that affected D3D11.

Followup, kind of, to #16104 .

@hrydgard hrydgard added the GE emulation Backend-independent GPU issues label Sep 26, 2022
@hrydgard hrydgard added this to the v1.14.0 milestone Sep 26, 2022
This reduces the number of vertex shaders and thus pipelines by quite a
bit more in a few games, like Tekken and GoW, continuing the fight
against shader compile stutter.

The perf impact should be minimal if not positive due to less pipeline
changes.

GLES fixes

Make the vertex input declarations match (always declare fog input).  Fixes D3D11 validation

Tess fix
@hrydgard hrydgard merged commit 51ec3eb into master Sep 26, 2022
@hrydgard hrydgard deleted the dynamic-matupdate branch September 26, 2022 10:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
GE emulation Backend-independent GPU issues
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant