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

9 lines
98 B
WebGPU Shading Language
Raw Permalink Normal View History

const o : f32 = 0.0f;
@compute @workgroup_size(1)
fn main() {
if ((o == 1)) {
_ = o;
}
}