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