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

17 lines
178 B
Plaintext
Raw Normal View History

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