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

20 lines
281 B
WebGPU Shading Language

fn asin_a5dd88() {
var res = asin(vec2(0.479425538604));
}
@vertex
fn vertex_main() -> @builtin(position) vec4<f32> {
asin_a5dd88();
return vec4<f32>();
}
@fragment
fn fragment_main() {
asin_a5dd88();
}
@compute @workgroup_size(1)
fn compute_main() {
asin_a5dd88();
}