dawn-cmake/test/tint/builtins/gen/literal/asin/2d8e29.wgsl.expected.wgsl

22 lines
309 B
WebGPU Shading Language
Raw Normal View History

enable f16;
fn asin_2d8e29() {
var res : vec3<f16> = asin(vec3<f16>(0.479248047h));
}
@vertex
fn vertex_main() -> @builtin(position) vec4<f32> {
asin_2d8e29();
return vec4<f32>();
}
@fragment
fn fragment_main() {
asin_2d8e29();
}
@compute @workgroup_size(1)
fn compute_main() {
asin_2d8e29();
}