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

17 lines
154 B
Plaintext
Raw Permalink Normal View History

#include <metal_stdlib>
using namespace metal;
struct a {
int a;
};
void f() {
{
a a_1 = a{};
a b = a_1;
}
a a_2 = a{};
a b = a_2;
}