dawn-cmake/test/intrinsics/gen/sin/b78c91.wgsl.expected.wgsl

20 lines
279 B
WebGPU Shading Language
Raw Normal View History

fn sin_b78c91() {
var res : f32 = sin(1.0);
}
[[stage(vertex)]]
fn vertex_main() -> [[builtin(position)]] vec4<f32> {
sin_b78c91();
return vec4<f32>();
}
[[stage(fragment)]]
fn fragment_main() {
sin_b78c91();
}
[[stage(compute)]]
fn compute_main() {
sin_b78c91();
}