4 ms·
You mean the shading language? You should check out Metal the language is nice. The WebGPU shading language is close to it.
by adamnemecek 6y ago
You mean the shading language? You should check out Metal the language is nice. The WebGPU shading language is close to it.
- pjmlp 6y agoNot really, that was the initial proposal from Apple. WebGSL doesn't share anything with the C++14 based Metal Shading Language. https://gpuweb.github.io/gpuweb/wgsl.html https://gpuweb.github.io/gpuweb/wgsl.html Actually it even seems to have a Rust flavour to it.
- adamnemecek 6y agoWhere do you see the Rust influence?
- pjmlp 6y agoRight on the first example, fn main() -> void { gl_FragColor = vec4<f32>(0.4, 0.4, 0.8, 1.0); } There are more thorough the documentation.