blob: c7c2fb7d5ff8cf8b9434134e39b0d48c8d63a7da [file] [log] [blame]
cbuffer cbuffer_u : register(b0) {
uint4 u[32];
};
float2x4 u_load(uint offset) {
const uint scalar_offset = ((offset + 0u)) / 4;
const uint scalar_offset_1 = ((offset + 16u)) / 4;
return float2x4(asfloat(u[scalar_offset / 4]), asfloat(u[scalar_offset_1 / 4]));
}
[numthreads(1, 1, 1)]
void f() {
float4x2 t = transpose(u_load(272u));
float l = length(asfloat(u[2]).ywxz);
float a = abs(asfloat(u[2]).ywxz.x);
return;
}