9e13fe86b1
If sk_Caps.rewriteMatrixVectorMultiply is false, we generate the same code as before. If sk_Caps.rewriteMatrixVectorMultiply is true, and optimization is enabled, medium-precision multiplication of `matrix * vector` is rewritten in BinaryExpression as the sum of (m[0]*v[0] + m[1]*v[1] + ... + m[N]*v[N]). Change-Id: I9796158fd4203b5cd2278c0d0e9a2e8cda82b136 Bug: skia:11769 Reviewed-on: https://skia-review.googlesource.com/c/skia/+/388460 Reviewed-by: Brian Osman <brianosman@google.com> Commit-Queue: John Stiles <johnstiles@google.com> |
||
---|---|---|
.. | ||
AbsInt.glsl | ||
AbsIntStandaloneSettings.glsl | ||
BlendGuardedDivide.glsl | ||
BlendGuardedDivideStandaloneSettings.glsl | ||
BlendModesAllZeroVec.glsl | ||
BlendModesAllZeroVecStandaloneSettings.glsl | ||
FractNegative.glsl | ||
FractNegativeStandaloneSettings.glsl | ||
FragCoords.glsl | ||
FragCoordsStandaloneSettings.glsl | ||
LoopCondition.glsl | ||
LoopConditionStandaloneSettings.glsl | ||
MinAndAbsTogether.glsl | ||
MinAndAbsTogetherStandaloneSettings.glsl | ||
NegatedAtan.glsl | ||
NegatedAtanStandaloneSettings.glsl | ||
PowWithConstantExponent.glsl | ||
PowWithConstantExponentStandaloneSettings.glsl | ||
RewriteDoWhileLoops.glsl | ||
RewriteDoWhileLoopsStandaloneSettings.glsl | ||
RewriteMatrixVectorMultiply.asm.frag | ||
RewriteMatrixVectorMultiply.glsl | ||
RewriteMatrixVectorMultiplyStandaloneSettings.glsl | ||
TernaryShortCircuit.glsl | ||
TernaryShortCircuitStandaloneSettings.glsl |