dawn-cmake/test/tint/builtins/gen/var/cos/a297d4.wgsl.expected.wgsl

21 lines
282 B
WebGPU Shading Language

fn cos_a297d4() {
const arg_0 = 0.0;
var res = cos(arg_0);
}
@vertex
fn vertex_main() -> @builtin(position) vec4<f32> {
cos_a297d4();
return vec4<f32>();
}
@fragment
fn fragment_main() {
cos_a297d4();
}
@compute @workgroup_size(1)
fn compute_main() {
cos_a297d4();
}