dawn-cmake/test/bug/tint/1321.wgsl.expected.glsl

23 lines
281 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;
}
}
}
void main() {
tint_symbol();
return;
}