On Wed Apr 12 15:34:15 2023 +0000, Nikolay Sivov wrote:
Unrolling on itself is not going to, not unrolling with explicit iteration counter might break things.
Well, it changes the code (e.g. it could allow / prevent some optimizations) and that could mean that the shader gives somewhat different output when there are numerically unstable float computations involved.
Very unlikely to be of concern in practice of course, but leaving a trail in the log should be valuable if that ever happens.