
RWByteAddressBuffer v : register(u0);
void foo() {
  v.Store4(0u, asuint((asint(v.Load4(0u)) - (int(2)).xxxx)));
}

[numthreads(1, 1, 1)]
void unused_entry_point() {
}

