blob: 963b7bccdc01b0b16e49cafb41ce915ee8b5e119 [file]
cbuffer cbuffer_m : register(b0) {
uint4 m[2];
};
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() {
float2x4 l_m = v(0u);
float4 l_m_1 = asfloat(m[1u]);
}