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

20 lines
338 B
WebGPU Shading Language
Raw Permalink Normal View History

fn countTrailingZeros_42fed6() {
var res : i32 = countTrailingZeros(1);
}
@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();
}