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

Add DynamicCache<,> type to cache HLSL bytecode results #579

Merged
merged 5 commits into from
Sep 29, 2023

Conversation

Sergio0694
Copy link
Owner

Description

This PR adds the new DynamicCache<TKey, TValue> type and adopts it in the D2D1 generator to cache HLSL bytecode values. This allows the generator to have a single transform step while still only recomputing HLSL source when it actually changes.

@Sergio0694 Sergio0694 added the optimization 🚀 Performance improvement to existing APIs label Sep 29, 2023
@Sergio0694 Sergio0694 merged commit 34a7d5b into main Sep 29, 2023
@Sergio0694 Sergio0694 deleted the dev/dynamic-cache branch September 29, 2023 13:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
optimization 🚀 Performance improvement to existing APIs
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant