22 lines
347 B
WebGPU Shading Language
22 lines
347 B
WebGPU Shading Language
fn distance_83911f() {
|
|
const arg_0 = vec3(1.0);
|
|
const arg_1 = vec3(1.0);
|
|
var res = distance(arg_0, arg_1);
|
|
}
|
|
|
|
@vertex
|
|
fn vertex_main() -> @builtin(position) vec4<f32> {
|
|
distance_83911f();
|
|
return vec4<f32>();
|
|
}
|
|
|
|
@fragment
|
|
fn fragment_main() {
|
|
distance_83911f();
|
|
}
|
|
|
|
@compute @workgroup_size(1)
|
|
fn compute_main() {
|
|
distance_83911f();
|
|
}
|