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

11 lines
163 B
WebGPU Shading Language
Raw Normal View History

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