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

Shader hot-reloading in WGPU example #231

Closed
wants to merge 2 commits into from
Closed

Conversation

repi
Copy link
Contributor

@repi repi commented Nov 12, 2020

This is the the test a did 1-2 weeks ago on hot-reloading of shaders, haven't had time to continue on it but do think we should clean it up and get it in to the all the example runners

It does have a problem with spirv-builder where that somehow causes every iteration in cargo-watch to rebuild core and everything, it seems like. I did test before to not have the spriv-builder build path at all and just load .spv directly from the target folder and that worked flawlessly when iterating, could potentially disable the spriv-builder path when one has the hot-reload feature enabled as it is not needed then

@khyperia
Copy link
Contributor

khyperia commented Apr 1, 2021

#423 does the same thing as this and isn't a draft, so closing this!

@khyperia khyperia closed this Apr 1, 2021
@XAMPPRocky XAMPPRocky deleted the shader-hot-reloading branch April 30, 2021 07:36
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