vkd3d-shader: Use iterators everywhere, part 6/M (alt. dimension).
More iterator patches from an alternate dimension.
After these, I have more iterator patches prepared since these turned out to be a good way to split some of the work required to replace the instruction array with the rbseq.h struct, and this work is almost complete (I only have to fix 2 segfaulting tests, and do some more splitting and cleaning).
This work is currently in my rbseq2 branch.
Edited by Francisco Casas