dawn-cmake/test/tint/shadowing/short_names/var.wgsl.expected.dxc.hlsl
Ben Clayton 06c1af47bd tint: Fix Renamer transform with type short-names
Fixed: tint:1783
Change-Id: I0ffd5860405651f15961dc8fe753eeac6edc8434
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/113441
Reviewed-by: Dan Sinclair <dsinclair@chromium.org>
Kokoro: Kokoro <noreply+kokoro@google.com>
Commit-Queue: Ben Clayton <bclayton@google.com>
2022-12-08 20:45:54 +00:00

14 lines
176 B
HLSL

[numthreads(1, 1, 1)]
void unused_entry_point() {
return;
}
void f() {
{
int vec3f_1 = 1;
int b = vec3f_1;
}
float3 c = (0.0f).xxx;
float3 d = (0.0f).xxx;
}