dawn-cmake/test/tint/builtins/gen/firstTrailingBit/3a2acc.wgsl.expected.wgsl

20 lines
349 B
WebGPU Shading Language

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