mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-08-05 19:55:37 +00:00
This new expectation file was added with a similar parent that changed the expected output. Bug: tint:1112 Change-Id: Icb6175f68b6459385933d39e07460eb863ecb9ff Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/71101 Commit-Queue: Ben Clayton <bclayton@chromium.org> Kokoro: Kokoro <noreply+kokoro@google.com> Reviewed-by: Antonio Maiorano <amaiorano@google.com>
16 lines
196 B
HLSL
16 lines
196 B
HLSL
int foo() {
|
|
return 1;
|
|
}
|
|
|
|
void main() {
|
|
float arr[4] = (float[4])0;
|
|
const int a_save = foo();
|
|
{
|
|
[loop] for(; ; ) {
|
|
const float x = arr[a_save];
|
|
break;
|
|
}
|
|
}
|
|
return;
|
|
}
|