compute-toys / wgpu-compute-toy

Cross-platform compute shader engine
https://compute.toys
MIT License
119 stars 16 forks source link

export some of the shader loading functionality #8

Open pwfff opened 1 year ago

pwfff commented 1 year ago

hm, might have made this a bit prematurely. i wanted to pass the shader loader into the preprocessor so it can load includes as well.

pwfff commented 1 year ago

yeah, passing the loader in to the preprocessor is nice, but it's rough to do for the wasm target since i'm trying to do this as a sync trait...