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

11 lines
148 B
WebGPU Shading Language

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