blob: 6b5f64c30176802b116b2dd4ca33bd049bcb6867 [file] [log] [blame]
RWByteAddressBuffer v : register(u0);
void v_1(uint offset, float4x4 obj) {
v.Store4((offset + 0u), asuint(obj[0u]));
v.Store4((offset + 16u), asuint(obj[1u]));
v.Store4((offset + 32u), asuint(obj[2u]));
v.Store4((offset + 48u), asuint(obj[3u]));
}
float4x4 v_2(uint offset) {
float4 v_3 = asfloat(v.Load4((offset + 0u)));
float4 v_4 = asfloat(v.Load4((offset + 16u)));
float4 v_5 = asfloat(v.Load4((offset + 32u)));
return float4x4(v_3, v_4, v_5, asfloat(v.Load4((offset + 48u))));
}
void foo() {
v_1(0u, (v_2(0u) - float4x4((0.0f).xxxx, (0.0f).xxxx, (0.0f).xxxx, (0.0f).xxxx)));
}
[numthreads(1, 1, 1)]
void unused_entry_point() {
}