dawn-cmake/test/tint/builtins/gen/var/atan2/034ace.wgsl.expected.wgsl

22 lines
320 B
WebGPU Shading Language

fn atan2_034ace() {
const arg_0 = 1.0;
const arg_1 = 1.0;
var res = atan2(arg_0, arg_1);
}
@vertex
fn vertex_main() -> @builtin(position) vec4<f32> {
atan2_034ace();
return vec4<f32>();
}
@fragment
fn fragment_main() {
atan2_034ace();
}
@compute @workgroup_size(1)
fn compute_main() {
atan2_034ace();
}