dawn-cmake/test/tint/builtins/gen/var/atan/749e1b.wgsl.expected.wgsl

21 lines
291 B
WebGPU Shading Language

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