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

offlineshadercompiler: shaderdump no longer implies rebuild #1046

Merged
merged 2 commits into from
Jan 24, 2025

Conversation

brakhane
Copy link
Collaborator

When testing the zstd vs zlib compression the constant rebuilding took a lot of time, so I thought it might be a good idea to not require a full rebuild when using shaderdump.

A few short tests indicate that it does indeed work correctly, though there might be some weird edge case I didn't consider.

Hopefully, this will allow us in the future to speed up builds of PRs even more, but currently I can't think of a reliable way, as two separate PRs might modify different shaders.

This PR doesn't affect the github builds, as those are using "rebuild" explicitly, and also start with a clean slate every time.

@brakhane brakhane force-pushed the shaderdump-no-rebuild branch from 45d9056 to ed9f097 Compare January 23, 2025 20:24
@turanszkij turanszkij merged commit c0cbd84 into master Jan 24, 2025
3 checks passed
@turanszkij turanszkij deleted the shaderdump-no-rebuild branch January 24, 2025 06:35
@turanszkij
Copy link
Owner

Should be fine with your solution I think.

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.

2 participants