dawn-cmake/test/tint/builtins/gen/literal/exp/dad791.wgsl.expected.wgsl

20 lines
265 B
WebGPU Shading Language

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