skia2/tests/sksl/workarounds/golden
Brian Osman 2e25ff436a Directly compute call counts, rather than mutating state
This causes a ~4% regression on sksl_large, but some of that
can be bought back in two ways:

1) Removing (now unnecessary) cloning of program elements
2) Hoisting the new analysis passes, with (nontrivial)
   logic to update/maintain the call counts as we edit IR.

Also, this fixes bugs where we were emitting functions that
had "calls" from no-longer called functions.

Bug: skia:10776
Change-Id: I4f8c29957be2e4233a883c9a1125f363b82ee40c
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/327198
Commit-Queue: Brian Osman <brianosman@google.com>
Reviewed-by: John Stiles <johnstiles@google.com>
2020-10-19 16:08:39 +00:00
..
AbsInt.glsl Migrate several GLSL workaround unit tests to golden files. 2020-09-17 16:41:18 +00:00
AbsIntStandaloneSettings.glsl Rename 'DefaultSettings' golden outputs to 'StandaloneSettings'. 2020-09-21 22:15:51 +00:00
BlendGuardedDivide.glsl Directly compute call counts, rather than mutating state 2020-10-19 16:08:39 +00:00
BlendGuardedDivideStandaloneSettings.glsl Directly compute call counts, rather than mutating state 2020-10-19 16:08:39 +00:00
BlendModesAllZeroVec.glsl Directly compute call counts, rather than mutating state 2020-10-19 16:08:39 +00:00
BlendModesAllZeroVecStandaloneSettings.glsl Directly compute call counts, rather than mutating state 2020-10-19 16:08:39 +00:00
FractNegative.glsl Migrate several GLSL workaround unit tests to golden files. 2020-09-17 16:41:18 +00:00
FractNegativeStandaloneSettings.glsl Rename 'DefaultSettings' golden outputs to 'StandaloneSettings'. 2020-09-21 22:15:51 +00:00
FragCoords.glsl Migrate remaining SkSL GLSL tests to golden outputs. 2020-09-18 19:22:19 +00:00
FragCoordsStandaloneSettings.glsl Rename 'DefaultSettings' golden outputs to 'StandaloneSettings'. 2020-09-21 22:15:51 +00:00
LoopCondition.glsl Migrate several GLSL workaround unit tests to golden files. 2020-09-17 16:41:18 +00:00
LoopConditionStandaloneSettings.glsl Rename 'DefaultSettings' golden outputs to 'StandaloneSettings'. 2020-09-21 22:15:51 +00:00
MinAndAbsTogether.glsl Migrate several GLSL workaround unit tests to golden files. 2020-09-17 16:41:18 +00:00
MinAndAbsTogetherStandaloneSettings.glsl Rename 'DefaultSettings' golden outputs to 'StandaloneSettings'. 2020-09-21 22:15:51 +00:00
NegatedAtan.glsl Migrate several GLSL workaround unit tests to golden files. 2020-09-17 16:41:18 +00:00
NegatedAtanStandaloneSettings.glsl Rename 'DefaultSettings' golden outputs to 'StandaloneSettings'. 2020-09-21 22:15:51 +00:00
PowWithConstantExponent.glsl Migrate several GLSL workaround unit tests to golden files. 2020-09-17 16:41:18 +00:00
PowWithConstantExponentStandaloneSettings.glsl Rename 'DefaultSettings' golden outputs to 'StandaloneSettings'. 2020-09-21 22:15:51 +00:00
RewriteDoWhileLoops.glsl Migrate remaining SkSL GLSL tests to golden outputs. 2020-09-18 19:22:19 +00:00
RewriteDoWhileLoopsStandaloneSettings.glsl Rename 'DefaultSettings' golden outputs to 'StandaloneSettings'. 2020-09-21 22:15:51 +00:00
TernaryShortCircuit.glsl Migrate several GLSL workaround unit tests to golden files. 2020-09-17 16:41:18 +00:00
TernaryShortCircuitStandaloneSettings.glsl Rename 'DefaultSettings' golden outputs to 'StandaloneSettings'. 2020-09-21 22:15:51 +00:00