shader-slang / slang

Making it easier to work with shaders
MIT License
2.06k stars 177 forks source link

Add WGSL as an output target #4484

Closed aleino-nv closed 1 week ago

aleino-nv commented 3 months ago

This is needed for WebGPU support.

jkwak-work commented 1 week ago

@aleino-nv , isn't this already done? We can use a command-line argument, "-target wgsl", on slangc.exe already, isn't it?

aleino-nv commented 1 week ago

@jkwak-work Yeah it's done. I thought I closed it but I guess not.