20 lines
286 B
WebGPU Shading Language
20 lines
286 B
WebGPU Shading Language
|
fn cross_1d7933() {
|
||
|
var res = cross(vec3(1.0), vec3(1.0));
|
||
|
}
|
||
|
|
||
|
@vertex
|
||
|
fn vertex_main() -> @builtin(position) vec4<f32> {
|
||
|
cross_1d7933();
|
||
|
return vec4<f32>();
|
||
|
}
|
||
|
|
||
|
@fragment
|
||
|
fn fragment_main() {
|
||
|
cross_1d7933();
|
||
|
}
|
||
|
|
||
|
@compute @workgroup_size(1)
|
||
|
fn compute_main() {
|
||
|
cross_1d7933();
|
||
|
}
|