dawn-cmake/test/tint/access/let/vector.spvasm.expected.wgsl

14 lines
272 B
WebGPU Shading Language
Raw Normal View History

const x_10 = vec3<f32>(1.0f, 2.0f, 3.0f);
fn main_1() {
let x_11 : f32 = x_10.y;
let x_13 : vec2<f32> = vec2<f32>(x_10.x, x_10.z);
let x_14 : vec3<f32> = vec3<f32>(x_10.x, x_10.z, x_10.y);
return;
}
@compute @workgroup_size(1i, 1i, 1i)
fn main() {
main_1();
}