20 lines
282 B
WebGPU Shading Language
20 lines
282 B
WebGPU Shading Language
|
fn saturate_78b37c() {
|
||
|
var res = saturate(2);
|
||
|
}
|
||
|
|
||
|
@vertex
|
||
|
fn vertex_main() -> @builtin(position) vec4<f32> {
|
||
|
saturate_78b37c();
|
||
|
return vec4<f32>();
|
||
|
}
|
||
|
|
||
|
@fragment
|
||
|
fn fragment_main() {
|
||
|
saturate_78b37c();
|
||
|
}
|
||
|
|
||
|
@compute @workgroup_size(1)
|
||
|
fn compute_main() {
|
||
|
saturate_78b37c();
|
||
|
}
|