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

10 lines
132 B
WebGPU Shading Language

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