blob: 9ab69eeec84f5b9cf4ff371c0b8dcfd493b79172 [file]
struct f_inputs {
uint tint_local_index : SV_GroupIndex;
};
cbuffer cbuffer_u : register(b0) {
uint4 u[12];
};
groupshared float3x4 w[4];
float3x4 v(uint start_byte_offset) {
return float3x4(asfloat(u[(start_byte_offset / 16u)]), asfloat(u[((16u + start_byte_offset) / 16u)]), asfloat(u[((32u + start_byte_offset) / 16u)]));
}
typedef float3x4 ary_ret[4];
ary_ret v_1(uint start_byte_offset) {
float3x4 a[4] = (float3x4[4])0;
{
uint v_2 = 0u;
v_2 = 0u;
while(true) {
uint v_3 = v_2;
if ((v_3 >= 4u)) {
break;
}
a[v_3] = v((start_byte_offset + (v_3 * 48u)));
{
v_2 = (v_3 + 1u);
}
continue;
}
}
float3x4 v_4[4] = a;
return v_4;
}
void f_inner(uint tint_local_index) {
{
uint v_5 = 0u;
v_5 = tint_local_index;
while(true) {
uint v_6 = v_5;
if ((v_6 >= 4u)) {
break;
}
w[v_6] = float3x4((0.0f).xxxx, (0.0f).xxxx, (0.0f).xxxx);
{
v_5 = (v_6 + 1u);
}
continue;
}
}
GroupMemoryBarrierWithGroupSync();
float3x4 v_7[4] = v_1(0u);
w = v_7;
w[1u] = v(96u);
w[1u][0u] = asfloat(u[1u]).ywxz;
w[1u][0u].x = asfloat(u[1u].x);
}
[numthreads(1, 1, 1)]
void f(f_inputs inputs) {
f_inner(inputs.tint_local_index);
}