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

10 lines
141 B
WebGPU Shading Language
Raw Normal View History

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