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

10 lines
134 B
WebGPU Shading Language
Raw Normal View History

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