dawn-cmake/test/tint/expressions/swizzle/write/vec3/i32.wgsl.expected.wgsl

13 lines
130 B
WebGPU Shading Language
Raw Normal View History

struct S {
v : vec3<i32>,
}
var<private> P : S;
fn f() {
P.v = vec3<i32>(1, 2, 3);
P.v.x = 1;
P.v.y = 2;
P.v.z = 3;
}