20 lines
282 B
WebGPU Shading Language
20 lines
282 B
WebGPU Shading Language
fn asin_a6d73a() {
|
|
var res = asin(0.4794255386040000011);
|
|
}
|
|
|
|
@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();
|
|
}
|