dawn-cmake/test/tint/builtins/gen/literal/atan2/c4be45.wgsl.expected.wgsl
Antonio Maiorano 4de90f0bb1 const eval of atan2
Bug: tint:1581

Change-Id: I6268e291540bc8c712f6925f0bcb82c5873359c7
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/96902
Commit-Queue: Antonio Maiorano <amaiorano@google.com>
Reviewed-by: Ben Clayton <bclayton@google.com>
Kokoro: Kokoro <noreply+kokoro@google.com>
2022-07-27 14:51:27 +00:00

20 lines
282 B
WebGPU Shading Language

fn atan2_c4be45() {
var res = atan2(vec4(1), vec4(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();
}