20 lines
319 B
WebGPU Shading Language
20 lines
319 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)]]
|
|
fn compute_main() {
|
|
fma_26a7a9();
|
|
}
|