News for hackers. Stuff that matters.
Re:WebGPU and WSL in Safari by om2 on Thursday September 12, 2019 @09:48PM (#20958400)
Specialization constants don’t seem to cut it for all the use cases. There’s variation beyond plugging in constants. Also some frameworks and engines give their clients the ability to provide shader snippets at runtime.
Re:WebGPU and WSL in Safari by atq2119 on Thursday September 12, 2019 @11:45PM (#20959014)
The answer to shader snippets in the SPIR-V world would be linking. I don't think that's well developed in the ecosystem if at all, but it's a perfectly natural extension.