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

Revert "Merge generic2D shader into generic" #1486

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

slipher
Copy link
Member

@slipher slipher commented Jan 3, 2025

This reverts #1483.

This is a loading time regression that causes several useless shader permutations to be built.
With "Merge generic2D shader into generic":
built 241 glsl shaders in 19483 msec
Without it:
built 224 glsl shaders in 18827 msec

The GENERIC_2D macro would need to be removed to merge these without introducing unnecessary permutations.

This reverts commit 7b21035.

This is a loading time regression that causes several useless shader
permutations to be built.
With "Merge generic2D shader into generic":
	built 241 glsl shaders in 19483 msec
Without it:
	built 224 glsl shaders in 18827 msec

The GENERIC_2D macro would need to be removed to merge these without
introducing unnecessary permutations.
@illwieckz
Copy link
Member

Oopsie.

@VReaperV
Copy link
Contributor

VReaperV commented Jan 3, 2025

Can probably be done with IsUnusedPermutation().

@VReaperV
Copy link
Contributor

VReaperV commented Jan 3, 2025

Well, that or just temporarily skipping subgroup profiler.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants