skia2/tests/sksl/shared
Brian Osman c021360a88 Only include one variable per declaration statement
This removes VarDeclarationsStatement entirely. VarDeclaration instances
appear directly as statements in Programs. SkSL that declares multiple
variables in a single declaration is transformed to represent that as a
series of VarDeclaration statements.

Similarly, global variable declarations are represented by
GlobalVarDeclaration program elements, one per variable.

Bug: skia:10806
Change-Id: Idd8a2d971a8217733ed57f0dd2249d62f2f0e9c5
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/323102
Commit-Queue: Brian Osman <brianosman@google.com>
Reviewed-by: John Stiles <johnstiles@google.com>
2020-10-07 17:27:01 +00:00
..
golden Only include one variable per declaration statement 2020-10-07 17:27:01 +00:00
ArrayConstructors.sksl
ArrayIndexTypes.sksl
ArrayTypes.sksl
Assignment.sksl Add unit tests for assignment and invalid field access. 2020-09-25 21:42:22 +00:00
BoolFolding.sksl
Caps.sksl
CastsRoundTowardZero.sksl
Clockwise.sksl
ComplexDelete.sksl
ConstantIf.sksl
ConstArray.sksl
ConstVariableComparison.sksl
Control.sksl
DeadDoWhileLoop.sksl
DeadLoopVariable.sksl
DependentInitializers.sksl
Derivatives.sksl
DerivativesFlipY.sksl
DerivativesUnused.sksl
Discard.sksl
FloatFolding.sksl
FragCoordsFlipY.sksl
FragCoordsNew.sksl
FragCoordsOld.sksl
FrExp.sksl
FunctionArgumentMatch.sksl
FunctionPrototype.sksl
Functions.sksl
Geometry.geom
GeometryExtension.geom
GeometryGSInvocations.geom
GeometryNoGSInvocations.geom
Height.sksl
HelloWorld.sksl
Hex.sksl
InstanceID.vert
InterfaceBlockAnonymous.sksl
InterfaceBlockArray.sksl
InterfaceBlockNamed.sksl
IntFolding.sksl
Matrices.sksl
MatrixFolding.sksl
MultipleAssignments.sksl
NegatedVectorLiteral.sksl
NoFragCoordsPos.vert
NoFragCoordsPosRT.vert
NormalizationGeo.geom
NormalizationVert.vert
NumberConversions.sksl
Offset.sksl
Operators.sksl
OutParams.sksl Update OutParams unit test to demonstrate SkSL failure. 2020-09-28 14:09:03 +00:00
OutParamsTricky.sksl Add 'tricky' OutParams golden output. 2020-09-28 18:52:13 +00:00
RectangleTexture.sksl
ResizeMatrix.sksl
SampleMask.sksl
ScopedSymbol.sksl
ShortCircuitBoolFolding.sksl
StackingVectorCasts.sksl
StaticIf.sksl
StaticSwitch.sksl
StaticSwitchWithBreak.sksl
StaticSwitchWithBreakInsideBlock.sksl
StaticSwitchWithConditionalBreak.sksl
StaticSwitchWithConditionalBreakInsideBlock.sksl
StaticSwitchWithFallthroughA.sksl
StaticSwitchWithFallthroughB.sksl
StaticSwitchWithStaticConditionalBreak.sksl
StaticSwitchWithStaticConditionalBreakInsideBlock.sksl
Structs.sksl
Switch.sksl
SwitchContainingDeadCode.sksl
SwitchWithFallthrough.sksl
SwizzleBoolConstants.sksl
SwizzleConstants.sksl
SwizzleLTRB.sksl
SwizzleOpt.sksl Add unit test to demonstrate lack of SkSL swizzle optimization. 2020-09-28 19:02:03 +00:00
SwizzleScalar.sksl
TernaryAsLValueEntirelyFoldable.sksl
TernaryAsLValueFoldableTest.sksl
Texture.sksl Detect non-2D textures in MetalCodeGenerator and fail cleanly 2020-10-02 20:36:04 +00:00
TextureSharpen.sksl Detect non-2D textures in MetalCodeGenerator and fail cleanly 2020-10-02 20:36:04 +00:00
UnaryPositiveNegative.sksl
UnusedVariables.sksl
VectorConstructors.sksl
VectorFolding.sksl
VertexID.vert
Width.sksl