Run conditional-assignment loop forwards.

This makes for a slightly more easier-to-read disassembly; register
numbering no longer goes in reverse for vector assignment. Of course, it
makes no difference in the actual execution.

Change-Id: I86c5024bae1f73b1cd98252e4831207e47dc11eb
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/452323
Commit-Queue: Brian Osman <brianosman@google.com>
Reviewed-by: Brian Osman <brianosman@google.com>
Auto-Submit: John Stiles <johnstiles@google.com>
diff --git a/src/sksl/codegen/SkSLVMCodeGenerator.cpp b/src/sksl/codegen/SkSLVMCodeGenerator.cpp
index 2548188..41d923a 100644
--- a/src/sksl/codegen/SkSLVMCodeGenerator.cpp
+++ b/src/sksl/codegen/SkSLVMCodeGenerator.cpp
@@ -1465,7 +1465,7 @@
 
     // `slots` are now absolute indices into `fSlots`.
     skvm::I32 mask = this->mask();
-    for (size_t i = rhs.slots(); i --> 0;) {
+    for (size_t i = 0; i < rhs.slots(); ++i) {
         skvm::Val& slotVal = fSlots[slots[i]];
         slotVal = this->writeConditionalStore(slotVal, rhs[i], mask);
     }