Remove DSL usage from RTAdjust fixup code.

This makes the code a bit more bloated, but it brings us a step
closer to zero DSL.

When this code was originally written, it was also done without
DSL. I decided to look up the old implementation out of curiosity:

http://google3/third_party/skia/HEAD/src/sksl/SkSLIRGenerator.cpp?rcl=374499485&l=705

I'm biased, but I think the new version is a bit easier to follow,
and the original actually mishandled VariableRefKinds (every call
to Pos() was generating a write-reference).

Change-Id: I6a4be0abcd7a645248eaee706a567ee5ab1f2a29
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/694576
Commit-Queue: John Stiles <johnstiles@google.com>
Auto-Submit: John Stiles <johnstiles@google.com>
Reviewed-by: Brian Osman <brianosman@google.com>
1 file changed