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