e70f2e0e0f
Moved the MatrixFoldingES2.sksl test case for matrix construction with side-effects into a new PreserveSideEffects.sksl test and added new test cases for various vector and matrix types and constructors. The new test is written such that none of its contents should be folded away. Note: This test does not pass on NVIDIA GPUs when using OpenGL as discussed in skia:13035. Notably, NONE of the increments are executed on those GPUs as ALL increment expressions seemingly get subjected to constant-folding. The test is disabled on NVIDIA GPU bots. This also means that the remaining MatrixFoldingES2.sksl tests now work on NVIDIA GPUs when using OpenGL (with the exception of Tegra3 + OpenGL ES). Bug: skia:13035, skia:11919 Change-Id: I561bb62fe2b6b814ba80fbc492d3885bbcd6b65b Reviewed-on: https://skia-review.googlesource.com/c/skia/+/518278 Reviewed-by: John Stiles <johnstiles@google.com> Commit-Queue: Arman Uguray <armansito@google.com> |
||
---|---|---|
.. | ||
ArrayFolding.glsl | ||
ArraySizeFolding.glsl | ||
AssignmentOps.glsl | ||
BoolFolding.glsl | ||
CastFolding.glsl | ||
FloatFolding.glsl | ||
IntFoldingES2.glsl | ||
IntFoldingES3.glsl | ||
MatrixFoldingES2.glsl | ||
MatrixFoldingES3.glsl | ||
Negation.glsl | ||
PreserveSideEffects.glsl | ||
SelfAssignment.glsl | ||
ShortCircuitBoolFolding.glsl | ||
SwitchCaseFolding.glsl | ||
SwizzleFolding.glsl | ||
VectorScalarFolding.glsl | ||
VectorVectorFolding.glsl |