blob: 7130cf414ca07310e77624cdac016e53bfe06cd7 [file] [log] [blame]
RWByteAddressBuffer a : register(u0);
void main() {
uint v = 0u;
a.GetDimensions(v);
uint v_1 = ((v / 4u) - 1u);
uint v_2 = (min(uint(int(1)), v_1) * 4u);
a.Store((0u + v_2), (a.Load((0u + v_2)) - 1u));
}
[numthreads(1, 1, 1)]
void unused_entry_point() {
}