skia2/tests/sksl
John Stiles 6f31e27f1e Improve inliner variable name mangling.
Previously, multiple inliner passes in a row would each apply a
separate name mangling to variable names, so names like "_25_14_3_1_pos"
were not uncommon. This change demangles the name before re-mangling it,
so we would have just "_25_pos" instead.

It's not important, but it makes things easier to read.

Change-Id: I1257222dac2a68e337f431af230ce50730cedc9b
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/345116
Commit-Queue: Brian Osman <brianosman@google.com>
Reviewed-by: Brian Osman <brianosman@google.com>
Auto-Submit: John Stiles <johnstiles@google.com>
2020-12-16 20:46:43 +00:00
..
blend Improve inliner variable name mangling. 2020-12-16 20:46:43 +00:00
errors Revert "Fix incorrect 'unreachable code' error in SkSL" 2020-12-16 18:21:17 +00:00
fp Revert "Eliminate inliner temporary variables for functions with a single exit." 2020-12-16 18:24:57 +00:00
glsl Replace array indexing on vector types with swizzles. 2020-12-07 21:16:40 +00:00
inliner Improve inliner variable name mangling. 2020-12-16 20:46:43 +00:00
intrinsics Revert "Eliminate inliner temporary variables for functions with a single exit." 2020-12-16 18:24:57 +00:00
metal Improve Metal support for out parameters. 2020-12-09 21:13:57 +00:00
shared Revert "Declare all inlined variables at the topmost scope possible." 2020-12-16 18:26:21 +00:00
spirv Fix various SkSL errors that don't report a line number. 2020-12-14 16:11:13 +00:00
workarounds Improve inliner variable name mangling. 2020-12-16 20:46:43 +00:00