dawn-cmake/test/bug/tint/219.spvasm.expected.hlsl
Ben Clayton f6a4fe073a Add test case for tint:219
The original problem appears to be fixed.

Fixed: tint:219
Change-Id: I8d16fbb715da3ca149769699c86f86a4bed85b4f
Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/57703
Auto-Submit: Ben Clayton <bclayton@google.com>
Reviewed-by: Antonio Maiorano <amaiorano@google.com>
Commit-Queue: Ben Clayton <bclayton@google.com>
Kokoro: Kokoro <noreply+kokoro@google.com>
2021-07-13 16:41:56 +00:00

17 lines
243 B
HLSL

float x_200(inout float2 x_201) {
const float x_212 = x_201.x;
return x_212;
}
void main_1() {
float2 x_11 = float2(0.0f, 0.0f);
const float x_12 = x_200(x_11);
return;
}
[numthreads(1, 1, 1)]
void main() {
main_1();
return;
}