blob: 41f7ecdf4ab06c6a2a8afed6006f91fe4c14d991 [file] [log] [blame]
#version 310 es
struct strided_arr {
float el;
uint tint_pad;
};
struct strided_arr_1 {
strided_arr el[3][2];
uint tint_pad_1;
uint tint_pad_2;
uint tint_pad_3;
uint tint_pad_4;
uint tint_pad_5;
uint tint_pad_6;
uint tint_pad_7;
uint tint_pad_8;
uint tint_pad_9;
uint tint_pad_10;
uint tint_pad_11;
uint tint_pad_12;
uint tint_pad_13;
uint tint_pad_14;
uint tint_pad_15;
uint tint_pad_16;
uint tint_pad_17;
uint tint_pad_18;
uint tint_pad_19;
uint tint_pad_20;
};
struct S {
strided_arr_1 a[4];
};
layout(binding = 0, std430)
buffer tint_symbol_1_1_ssbo {
S tint_symbol;
} v;
void tint_store_and_preserve_padding_4(inout strided_arr target, strided_arr value_param) {
target.el = value_param.el;
}
void tint_store_and_preserve_padding_3(inout strided_arr target[2], strided_arr value_param[2]) {
{
uint v_1 = 0u;
v_1 = 0u;
while(true) {
uint v_2 = v_1;
if ((v_2 >= 2u)) {
break;
}
tint_store_and_preserve_padding_4(target[v_2], value_param[v_2]);
{
v_1 = (v_2 + 1u);
}
continue;
}
}
}
void tint_store_and_preserve_padding_2(inout strided_arr target[3][2], strided_arr value_param[3][2]) {
{
uint v_3 = 0u;
v_3 = 0u;
while(true) {
uint v_4 = v_3;
if ((v_4 >= 3u)) {
break;
}
tint_store_and_preserve_padding_3(target[v_4], value_param[v_4]);
{
v_3 = (v_4 + 1u);
}
continue;
}
}
}
void tint_store_and_preserve_padding_1(inout strided_arr_1 target, strided_arr_1 value_param) {
tint_store_and_preserve_padding_2(target.el, value_param.el);
}
void tint_store_and_preserve_padding(inout strided_arr_1 target[4], strided_arr_1 value_param[4]) {
{
uint v_5 = 0u;
v_5 = 0u;
while(true) {
uint v_6 = v_5;
if ((v_6 >= 4u)) {
break;
}
tint_store_and_preserve_padding_1(target[v_6], value_param[v_6]);
{
v_5 = (v_6 + 1u);
}
continue;
}
}
}
void f_1() {
strided_arr_1 x_19[4] = v.tint_symbol.a;
strided_arr x_24[3][2] = v.tint_symbol.a[3].el;
strided_arr x_28[2] = v.tint_symbol.a[3].el[2];
float x_32 = v.tint_symbol.a[3].el[2][1].el;
tint_store_and_preserve_padding(v.tint_symbol.a, strided_arr_1[4](strided_arr_1(strided_arr[3][2](strided_arr[2](strided_arr(0.0f, 0u), strided_arr(0.0f, 0u)), strided_arr[2](strided_arr(0.0f, 0u), strided_arr(0.0f, 0u)), strided_arr[2](strided_arr(0.0f, 0u), strided_arr(0.0f, 0u))), 0u, 0u, 0u, 0u, 0u, 0u, 0u, 0u, 0u, 0u, 0u, 0u, 0u, 0u, 0u, 0u, 0u, 0u, 0u, 0u), strided_arr_1(strided_arr[3][2](strided_arr[2](strided_arr(0.0f, 0u), strided_arr(0.0f, 0u)), strided_arr[2](strided_arr(0.0f, 0u), strided_arr(0.0f, 0u)), strided_arr[2](strided_arr(0.0f, 0u), strided_arr(0.0f, 0u))), 0u, 0u, 0u, 0u, 0u, 0u, 0u, 0u, 0u, 0u, 0u, 0u, 0u, 0u, 0u, 0u, 0u, 0u, 0u, 0u), strided_arr_1(strided_arr[3][2](strided_arr[2](strided_arr(0.0f, 0u), strided_arr(0.0f, 0u)), strided_arr[2](strided_arr(0.0f, 0u), strided_arr(0.0f, 0u)), strided_arr[2](strided_arr(0.0f, 0u), strided_arr(0.0f, 0u))), 0u, 0u, 0u, 0u, 0u, 0u, 0u, 0u, 0u, 0u, 0u, 0u, 0u, 0u, 0u, 0u, 0u, 0u, 0u, 0u), strided_arr_1(strided_arr[3][2](strided_arr[2](strided_arr(0.0f, 0u), strided_arr(0.0f, 0u)), strided_arr[2](strided_arr(0.0f, 0u), strided_arr(0.0f, 0u)), strided_arr[2](strided_arr(0.0f, 0u), strided_arr(0.0f, 0u))), 0u, 0u, 0u, 0u, 0u, 0u, 0u, 0u, 0u, 0u, 0u, 0u, 0u, 0u, 0u, 0u, 0u, 0u, 0u, 0u)));
v.tint_symbol.a[3].el[2][1].el = 5.0f;
}
layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
void main() {
f_1();
}