James Price | d68d3a9 | 2022-04-07 13:42:45 +0000 | [diff] [blame] | 1 | [numthreads(1, 1, 1)] |
2 | void unused_entry_point() { | ||||
3 | return; | ||||
James Price | b02fe31 | 2022-04-07 13:42:45 +0000 | [diff] [blame] | 4 | } |
5 | |||||
Peng Huang | c00ff7f | 2023-03-31 17:55:19 +0000 | [diff] [blame] | 6 | RWByteAddressBuffer i : register(u0); |
James Price | d68d3a9 | 2022-04-07 13:42:45 +0000 | [diff] [blame] | 7 | |
8 | void main() { | ||||
9 | i.Store(0u, asuint((i.Load(0u) - 1u))); | ||||
10 | } |