20 lines
284 B
WebGPU Shading Language
20 lines
284 B
WebGPU Shading Language
fn atan_02979a() {
|
|
var res : f32 = atan(1.0);
|
|
}
|
|
|
|
[[stage(vertex)]]
|
|
fn vertex_main() -> [[builtin(position)]] vec4<f32> {
|
|
atan_02979a();
|
|
return vec4<f32>();
|
|
}
|
|
|
|
[[stage(fragment)]]
|
|
fn fragment_main() {
|
|
atan_02979a();
|
|
}
|
|
|
|
[[stage(compute)]]
|
|
fn compute_main() {
|
|
atan_02979a();
|
|
}
|