Return to Hub
← WebGPU Render
Slang Compiler
YUV Separation →
Slang Source
[numthreads(16, 16, 1)] void main(uint3 id : SV_DispatchThreadID) { // Basic test kernel float2 uv = float2(id.xy) / 1024.0; float val = sin(uv.x * 10.0) * cos(uv.y * 10.0); }
Compile to WGSL
WGSL Output
// Output will appear here...
Status: Initializing...
Compiler Console
Copy Log