Note! This question is a duplicate of my question at StackOverflow (https://stackoverflow.com/questions...ffect-the-accuracy-of-the-computations-within). I have chosen to post it here as well to reach a larger audience, seeing as I am not sure if this issue is related to Unity in particular, HLSL, or simply loop-unrolling in general.
Summarized question Does unrolling a loop affect the accuracy of the computations performed...
Why does (not) unrolling a loop affect the accuracy of the computations within?
Summarized question Does unrolling a loop affect the accuracy of the computations performed...
Why does (not) unrolling a loop affect the accuracy of the computations within?