dawn-cmake/test/tint/builtins/gen/literal/countTrailingZeros/42fed6.wgsl.expected.wgsl

23 lines
427 B
WebGPU Shading Language

fn countTrailingZeros_42fed6() {
var res : i32 = countTrailingZeros(1i);
prevent_dce = res;
}
@group(2) @binding(0) var<storage, read_write> prevent_dce : i32;
@vertex
fn vertex_main() -> @builtin(position) vec4<f32> {
countTrailingZeros_42fed6();
return vec4<f32>();
}
@fragment
fn fragment_main() {
countTrailingZeros_42fed6();
}
@compute @workgroup_size(1)
fn compute_main() {
countTrailingZeros_42fed6();
}