dawn-cmake/test/expressions/splat/var/i32.wgsl.expected.wgsl

7 lines
141 B
WebGPU Shading Language

fn f() {
var v = (1 + 2);
var v2 : vec2<i32> = vec2<i32>(v);
var v3 : vec3<i32> = vec3<i32>(v);
var v4 : vec4<i32> = vec4<i32>(v);
}