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

20 lines
264 B
WebGPU Shading Language

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