dawn-cmake/test/tint/statements/decrement/for_loop_initializer.wgsl.e...

14 lines
219 B
HLSL
Raw Permalink Normal View History

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