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