dawn-cmake/test/tint/builtins/gen/var/acos/303e3d.wgsl.expected.wgsl

23 lines
309 B
WebGPU Shading Language
Raw Normal View History

enable f16;
fn acos_303e3d() {
var arg_0 = 0.96875h;
var res : f16 = acos(arg_0);
}
@vertex
fn vertex_main() -> @builtin(position) vec4<f32> {
acos_303e3d();
return vec4<f32>();
}
@fragment
fn fragment_main() {
acos_303e3d();
}
@compute @workgroup_size(1)
fn compute_main() {
acos_303e3d();
}