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

pre-populate the default material's depth variants #8300

Merged
merged 1 commit into from
Dec 5, 2024

Conversation

pixelflinger
Copy link
Collaborator

This restores the old behavior with depth variant caching. We pay the price at engine init time, instead of when the variant is needed the first time. We can revisit this later.

Note that the default material doesn't have all possible depth variants (e.g. VSM), but that pre-caches the most popular ones.

BUGS=[381946222]

This restores the old behavior with depth variant caching. We pay the
price at engine init time, instead of when the variant is needed the
first time. We can revisit this later.

Note that the default material doesn't have all possible depth variants
(e.g. VSM), but that pre-caches the most popular ones.

BUGS=[381946222]
@pixelflinger pixelflinger added the internal Issue/PR does not affect clients label Dec 5, 2024
@pixelflinger pixelflinger merged commit 6bb7f89 into main Dec 5, 2024
13 checks passed
@pixelflinger pixelflinger deleted the ma/depth-shader-caching branch December 5, 2024 23:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
internal Issue/PR does not affect clients
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants