dawn-cmake/test/tint/builtins/gen/var/normalize/4eaf61.wgsl.expected.wgsl

21 lines
318 B
WebGPU Shading Language
Raw Normal View History

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