blob: ea0e27570563d61b74cc96db6a683284d7c957c8 [file]
cbuffer cbuffer_u : register(b0) {
uint4 u[2];
};
float2x3 v(uint start_byte_offset) {
return float2x3(asfloat(u[(start_byte_offset / 16u)].xyz), asfloat(u[((16u + start_byte_offset) / 16u)].xyz));
}
[numthreads(1, 1, 1)]
void f() {
float3x2 t = transpose(v(0u));
float l = length(asfloat(u[1u].xyz));
float a = abs(asfloat(u[0u].xyz).zxy.x);
}