19 lines
276 B
WebGPU Shading Language
19 lines
276 B
WebGPU Shading Language
|
fn inverseSqrt_b197b1() {
|
||
|
var res : vec3<f32> = inverseSqrt(vec3<f32>());
|
||
|
}
|
||
|
|
||
|
[[stage(vertex)]]
|
||
|
fn vertex_main() {
|
||
|
inverseSqrt_b197b1();
|
||
|
}
|
||
|
|
||
|
[[stage(fragment)]]
|
||
|
fn fragment_main() {
|
||
|
inverseSqrt_b197b1();
|
||
|
}
|
||
|
|
||
|
[[stage(compute)]]
|
||
|
fn compute_main() {
|
||
|
inverseSqrt_b197b1();
|
||
|
}
|