dawn-cmake/test/tint/builtins/gen/var/acos/5e9ad2.wgsl.expected.wgsl

21 lines
303 B
WebGPU Shading Language

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