22 lines
355 B
WebGPU Shading Language
22 lines
355 B
WebGPU Shading Language
fn min_3941e1() {
|
|
var arg_0 = vec4<i32>();
|
|
var arg_1 = vec4<i32>();
|
|
var res : vec4<i32> = min(arg_0, arg_1);
|
|
}
|
|
|
|
@stage(vertex)
|
|
fn vertex_main() -> @builtin(position) vec4<f32> {
|
|
min_3941e1();
|
|
return vec4<f32>();
|
|
}
|
|
|
|
@stage(fragment)
|
|
fn fragment_main() {
|
|
min_3941e1();
|
|
}
|
|
|
|
@stage(compute) @workgroup_size(1)
|
|
fn compute_main() {
|
|
min_3941e1();
|
|
}
|