dawn-cmake/test/tint/statements/decrement/for_loop_continuing.wgsl.ex...

14 lines
204 B
HLSL

[numthreads(1, 1, 1)]
void unused_entry_point() {
return;
}
RWByteAddressBuffer i : register(u0);
void main() {
{
for(; (i.Load(0u) < 10u); i.Store(0u, asuint((i.Load(0u) - 1u)))) {
}
}
}