blob: 6d55b917f187863283e9eaed8e9dcecc46dcf8c1 [file] [log] [blame]
James Priced68d3a92022-04-07 13:42:45 +00001[numthreads(1, 1, 1)]
2void unused_entry_point() {
3 return;
James Priceb02fe312022-04-07 13:42:45 +00004}
5
Peng Huangc00ff7f2023-03-31 17:55:19 +00006RWByteAddressBuffer i : register(u0);
James Priced68d3a92022-04-07 13:42:45 +00007
8void main() {
9 {
Antonio Maiorano06844a52022-09-29 16:53:58 +000010 for(i.Store(0u, asuint((i.Load(0u) + 1u))); (i.Load(0u) < 10u); ) {
James Priced68d3a92022-04-07 13:42:45 +000011 }
12 }
13}