dawn-cmake/test/tint/shadowing/alias/let.wgsl.expected.msl
Ben Clayton d00663d882 tint: Move resolver/type_alias to type/short_name
'Short-name' is way less overloaded than 'alias' and 'builtin'.

The package move allows transforms to use these enums.

Change-Id: I61c6b3f7deee8e835990a948cd5427c07034fa5e
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/113440
Kokoro: Kokoro <noreply+kokoro@google.com>
Commit-Queue: Ben Clayton <bclayton@google.com>
Reviewed-by: Dan Sinclair <dsinclair@chromium.org>
2022-12-08 19:07:06 +00:00

13 lines
158 B
Plaintext

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