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

22 lines
328 B
WebGPU Shading Language
Raw Normal View History

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