dawn-cmake/test/tint/builtins/gen/literal/atan/d17fb2.wgsl.expected.wgsl

20 lines
270 B
WebGPU Shading Language

fn atan_d17fb2() {
var res = atan(vec4(1.0));
}
@vertex
fn vertex_main() -> @builtin(position) vec4<f32> {
atan_d17fb2();
return vec4<f32>();
}
@fragment
fn fragment_main() {
atan_d17fb2();
}
@compute @workgroup_size(1)
fn compute_main() {
atan_d17fb2();
}