dawn-cmake/test/tint/var/override/numbered/no_init/bool.wgsl

10 lines
133 B
WebGPU Shading Language

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