dawn-cmake/test/intrinsics/gen/exp/771fd2.wgsl.expected.wgsl

20 lines
286 B
WebGPU Shading Language
Raw Normal View History

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