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

11 lines
110 B
WebGPU Shading Language

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