dawn-cmake/test/statements/for/initializer.wgsl.expected.hlsl
Ben Clayton 2ba8315b02 [test]: Add some test cases for for-loops
Bug: tint:952
Change-Id: I156e29a74ce3942a39f25dc5bfb3d5467e206fce
Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/57201
Kokoro: Kokoro <noreply+kokoro@google.com>
Reviewed-by: James Price <jrprice@google.com>
2021-07-08 10:00:17 +00:00

13 lines
124 B
HLSL

[numthreads(1, 1, 1)]
void unused_entry_point() {
return;
}
void f() {
{
int i = 0;
while (true) {
}
}
}