blob: af5db787d59e6813a89777a527d09ab246c933c0 [file] [log] [blame]
#version 310 es
struct S {
int a;
uint tint_pad_0;
uint tint_pad_1;
uint tint_pad_2;
vec4 b;
mat2 c;
};
layout(binding = 0, std430)
buffer v_block_1_ssbo {
S inner;
} v_1;
uint i = 0u;
int idx1() {
i = (i + 1u);
return 1;
}
int idx2() {
i = (i + 2u);
return 1;
}
int idx3() {
i = (i + 3u);
return 1;
}
void foo() {
float a[4] = float[4](0.0f, 0.0f, 0.0f, 0.0f);
{
int v_2 = idx1();
a[v_2] = (a[v_2] * 2.0f);
while(true) {
int v_3 = idx2();
if ((a[v_3] < 10.0f)) {
} else {
break;
}
{
int v_4 = idx3();
a[v_4] = (a[v_4] + 1.0f);
}
continue;
}
}
}
layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
void main() {
}