blob: c140dcee42033c55f60137825b1b6ac3f1ea26d1 [file] [log] [blame] [edit]
#version 310 es
#extension GL_AMD_gpu_shader_half_float: require
struct S_std140 {
int before;
f16vec3 m_col0;
f16vec3 m_col1;
int after;
};
struct S {
int before;
f16mat2x3 m;
int after;
};
layout(binding = 0, std140)
uniform tint_symbol_1_std140_1_ubo {
S_std140 tint_symbol[4];
} v;
shared S w[4];
S tint_convert_S(S_std140 tint_input) {
return S(tint_input.before, f16mat2x3(tint_input.m_col0, tint_input.m_col1), tint_input.after);
}
void f_inner(uint tint_local_index) {
{
uint v_1 = 0u;
v_1 = tint_local_index;
while(true) {
uint v_2 = v_1;
if ((v_2 >= 4u)) {
break;
}
w[v_2] = S(0, f16mat2x3(f16vec3(0.0hf), f16vec3(0.0hf)), 0);
{
v_1 = (v_2 + 1u);
}
continue;
}
}
barrier();
S_std140 v_3[4] = v.tint_symbol;
S v_4[4] = S[4](S(0, f16mat2x3(f16vec3(0.0hf), f16vec3(0.0hf)), 0), S(0, f16mat2x3(f16vec3(0.0hf), f16vec3(0.0hf)), 0), S(0, f16mat2x3(f16vec3(0.0hf), f16vec3(0.0hf)), 0), S(0, f16mat2x3(f16vec3(0.0hf), f16vec3(0.0hf)), 0));
{
uint v_5 = 0u;
v_5 = 0u;
while(true) {
uint v_6 = v_5;
if ((v_6 >= 4u)) {
break;
}
v_4[v_6] = tint_convert_S(v_3[v_6]);
{
v_5 = (v_6 + 1u);
}
continue;
}
}
w = v_4;
w[1] = tint_convert_S(v.tint_symbol[2]);
w[3].m = f16mat2x3(v.tint_symbol[2].m_col0, v.tint_symbol[2].m_col1);
w[1].m[0] = v.tint_symbol[0].m_col1.zxy;
}
layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
void main() {
f_inner(gl_LocalInvocationIndex);
}