dawn-cmake/test/builtins/gen/fma/26a7a9.wgsl.expected.wgsl

20 lines
326 B
WebGPU Shading Language

fn fma_26a7a9() {
var res : vec2<f32> = fma(vec2<f32>(), vec2<f32>(), vec2<f32>());
}
@stage(vertex)
fn vertex_main() -> @builtin(position) vec4<f32> {
fma_26a7a9();
return vec4<f32>();
}
@stage(fragment)
fn fragment_main() {
fma_26a7a9();
}
@stage(compute) @workgroup_size(1)
fn compute_main() {
fma_26a7a9();
}