dawn-cmake/test/tint/builtins/gen/literal/atanh/c5dc32.wgsl.expected.wgsl
dan sinclair 4c8401f33c Add const-eval for atanh.
This CL adds const-eval for the `atanh` operator.

Bug: tint:1581
Change-Id: I7d8989a348ad1d8ca463dae90233fd82d6faf2d9
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/106849
Commit-Queue: Dan Sinclair <dsinclair@chromium.org>
Reviewed-by: Antonio Maiorano <amaiorano@google.com>
Kokoro: Kokoro <noreply+kokoro@google.com>
2022-10-25 18:03:56 +00:00

20 lines
269 B
WebGPU Shading Language

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