dawn-cmake/test/tint/shadowing/function/var.wgsl

11 lines
111 B
WebGPU Shading Language

struct a { a : i32; };
fn f() {
{
var a : a = a();
var b = a;
}
var a : a = a();
var b = a;
}