dawn-cmake/test/tint/expressions/splat/var/u32.wgsl

7 lines
149 B
WebGPU Shading Language

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