dawn-cmake/test/tint/builtins/gen/literal/inverseSqrt/07a6fe.wgsl.expected.wgsl

20 lines
305 B
WebGPU Shading Language

fn inverseSqrt_07a6fe() {
var res = inverseSqrt(vec4(1.0));
}
@vertex
fn vertex_main() -> @builtin(position) vec4<f32> {
inverseSqrt_07a6fe();
return vec4<f32>();
}
@fragment
fn fragment_main() {
inverseSqrt_07a6fe();
}
@compute @workgroup_size(1)
fn compute_main() {
inverseSqrt_07a6fe();
}