dawn-cmake/test/tint/var/override/numbered/zero_init/f32.wgsl

10 lines
147 B
WebGPU Shading Language

// flags: --overrides 1234=0
@id(1234) override o : f32 = f32();
@compute @workgroup_size(1)
fn main() {
if o == 0.0 {
_ = o;
}
}