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

10 lines
128 B
WebGPU Shading Language
Raw Normal View History

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