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

10 lines
132 B
WebGPU Shading Language
Raw Normal View History

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