slang
slang copied to clipboard
Wasm build: Reduce Slang standard library size
Figure out how to reduce our stdlib to not include decls not needed for webgpu so the total binary size is small, targetting <5MB.
See https://github.com/shader-slang/slang/issues/5092#issuecomment-2357443001 for a suggestion
Not totally unrelated to https://github.com/shader-slang/slang/issues/2848, it would be wonderful to make core.meta.slang and hlsl.meta.slang editing easier...