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

20 lines
359 B
WebGPU Shading Language

fn countTrailingZeros_42fed6() {
var res : i32 = countTrailingZeros(1);
}
@stage(vertex)
fn vertex_main() -> @builtin(position) vec4<f32> {
countTrailingZeros_42fed6();
return vec4<f32>();
}
@stage(fragment)
fn fragment_main() {
countTrailingZeros_42fed6();
}
@stage(compute) @workgroup_size(1)
fn compute_main() {
countTrailingZeros_42fed6();
}