Skip to content
This repository was archived by the owner on Oct 31, 2025. It is now read-only.

Shader hot-reloading in WGPU example#231

Closed
repi wants to merge 2 commits intomainfrom
shader-hot-reloading
Closed

Shader hot-reloading in WGPU example#231
repi wants to merge 2 commits intomainfrom
shader-hot-reloading

Conversation

@repi
Copy link
Copy Markdown
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
Copy Markdown
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 subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants