21 lines
303 B
WebGPU Shading Language
21 lines
303 B
WebGPU Shading Language
|
fn length_7b4741() {
|
||
|
const arg_0 = vec2(0.0);
|
||
|
var res = length(arg_0);
|
||
|
}
|
||
|
|
||
|
@vertex
|
||
|
fn vertex_main() -> @builtin(position) vec4<f32> {
|
||
|
length_7b4741();
|
||
|
return vec4<f32>();
|
||
|
}
|
||
|
|
||
|
@fragment
|
||
|
fn fragment_main() {
|
||
|
length_7b4741();
|
||
|
}
|
||
|
|
||
|
@compute @workgroup_size(1)
|
||
|
fn compute_main() {
|
||
|
length_7b4741();
|
||
|
}
|