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