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 | { |
Antonio Maiorano | 06844a5 | 2022-09-29 16:53:58 +0000 | [diff] [blame] | 10 | for(i.Store(0u, asuint((i.Load(0u) + 1u))); (i.Load(0u) < 10u); ) { |
James Price | d68d3a9 | 2022-04-07 13:42:45 +0000 | [diff] [blame] | 11 | } |
| 12 | } |
| 13 | } |