5 lines
76 B
WebGPU Shading Language
5 lines
76 B
WebGPU Shading Language
|
fn f(i : i32) -> f32 {
|
||
|
var v = vec3<f32>(1.0, 2.0, 3.0);
|
||
|
return v[i];
|
||
|
}
|