spirv-webgpu-transform 0.1.6

Transform SPIRV to be webgpu friendly
Documentation
1
2
3
4
5
6
7
8
9
10
#version 450

bool ra;

void main() {
    // Originally, this had a 0.0f/0.0f, but WGSL can't represent NAN.
    float t0 = 0.0f/10.0f;
    ra = isnan(t0) || isinf(t0);
}