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

Check for cancellation while doing HLSL rewriting #695

Merged
merged 3 commits into from
Nov 29, 2023

Conversation

Sergio0694
Copy link
Owner

Description

The HLSL rewriting can be potentially very expensive for large shaders. This PR checks for cancellation during the various steps of the HLSL rewriting, as well as between each entry point method being rewritten, for both the DX12 and D2D1 generators.

@Sergio0694 Sergio0694 added the optimization 🚀 Performance improvement to existing APIs label Nov 29, 2023
@Sergio0694 Sergio0694 merged commit 30f1f4c into main Nov 29, 2023
24 checks passed
@Sergio0694 Sergio0694 deleted the dev/generator-cancellation branch November 29, 2023 23: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