blob: 0557c7a4280e597532de81de14ac6159368c0a87 [file]
cbuffer cbuffer_m : register(b0) {
uint4 m[2];
};
static int counter = int(0);
int i() {
counter = (counter + int(1));
return counter;
}
float2x4 v(uint start_byte_offset) {
return float2x4(asfloat(m[(start_byte_offset / 16u)]), asfloat(m[((16u + start_byte_offset) / 16u)]));
}
[numthreads(1, 1, 1)]
void f() {
uint v_1 = (16u * min(uint(i()), 1u));
float2x4 l_m = v(0u);
float4 l_m_i = asfloat(m[(v_1 / 16u)]);
}