mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-08-04 19:25:47 +00:00
All failures are now SKIP'ed. Bug: tint:1358 Change-Id: If04d57b9e0b71dd877468b5dc277fbff82f36692 Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/75220 Kokoro: Kokoro <noreply+kokoro@google.com> Reviewed-by: Ben Clayton <bclayton@google.com> Commit-Queue: Stephen White <senorblanco@chromium.org>
24 lines
282 B
GLSL
24 lines
282 B
GLSL
#version 310 es
|
|
precision mediump float;
|
|
|
|
int foo() {
|
|
return 1;
|
|
}
|
|
|
|
void tint_symbol() {
|
|
float arr[4] = float[4](0.0f, 0.0f, 0.0f, 0.0f);
|
|
int a_save = foo();
|
|
{
|
|
for(; ; ) {
|
|
float x = arr[a_save];
|
|
break;
|
|
}
|
|
}
|
|
return;
|
|
}
|
|
void main() {
|
|
tint_symbol();
|
|
}
|
|
|
|
|