wgsl-bindgen icon indicating copy to clipboard operation
wgsl-bindgen copied to clipboard

Wire up wgsl_minifier as an option.

Open Swoorup opened this issue 1 year ago • 0 comments

There is an hastily written code here to convert naga module to strings, which contains wgsl_minifier.

It should be wired up as a WgslBindgenOption instead. Currently the problem is for naga_oil we output a single generated wgsl for embedded source option. Unfortunately some features like pipeline constants aren't supported when writing the wgsl by naga.

Swoorup avatar Feb 25 '24 18:02 Swoorup