dawn-cmake/test/tint/builtins/gen/literal/dot/c11efe.wgsl.expected.wgsl

20 lines
272 B
WebGPU Shading Language

fn dot_c11efe() {
var res = dot(vec3(1), vec3(1));
}
@vertex
fn vertex_main() -> @builtin(position) vec4<f32> {
dot_c11efe();
return vec4<f32>();
}
@fragment
fn fragment_main() {
dot_c11efe();
}
@compute @workgroup_size(1)
fn compute_main() {
dot_c11efe();
}