dawn-cmake/test/tint/builtins/repeated_use.wgsl.expected....

28 lines
630 B
WebGPU Shading Language
Raw Normal View History

@compute @workgroup_size(1)
fn main() {
let va = vec4<f32>();
let a = degrees(va);
let vb = vec4<f32>(1.0);
let b = degrees(vb);
let vc = vec4<f32>(1.0, 2.0, 3.0, 4.0);
let c = degrees(vc);
let vd = vec3<f32>();
let d = degrees(vd);
let ve = vec3<f32>(1.0);
let e = degrees(ve);
let vf = vec3<f32>(1.0, 2.0, 3.0);
let f = degrees(vf);
let vg = vec2<f32>();
let g = degrees(vg);
let vh = vec2<f32>(1.0);
let h = degrees(vh);
let vi = vec2<f32>(1.0, 2.0);
let i = degrees(vi);
let vj = 1.0;
let j = degrees(vj);
let vk = 2.0;
let k = degrees(vk);
let vl = 3.0;
let l = degrees(vl);
}