dawn-cmake/test/tint/builtins/gen/var/distance/9646ea.wgsl.expected.wgsl

22 lines
374 B
WebGPU Shading Language
Raw Normal View History

fn distance_9646ea() {
var arg_0 = vec4<f32>();
var arg_1 = vec4<f32>();
var res : f32 = distance(arg_0, arg_1);
}
@stage(vertex)
fn vertex_main() -> @builtin(position) vec4<f32> {
distance_9646ea();
return vec4<f32>();
}
@stage(fragment)
fn fragment_main() {
distance_9646ea();
}
@stage(compute) @workgroup_size(1)
fn compute_main() {
distance_9646ea();
}