skia2/tests/sksl/shared/golden
John Stiles 08070f6f65 Report the correct line number when vardecls have an error.
Previously, the Type's fOffset was set to -1 during parsing, so any
errors related to the Type would be reported on line 1.

Change-Id: I9834f733bc763c5946b3ff81d8aef4807cdc13d1
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/335584
Commit-Queue: John Stiles <johnstiles@google.com>
Commit-Queue: Brian Osman <brianosman@google.com>
Auto-Submit: John Stiles <johnstiles@google.com>
Reviewed-by: Brian Osman <brianosman@google.com>
2020-11-17 16:32:23 +00:00
..
ArrayConstructors.glsl
ArrayConstructors.metal
ArrayIndexTypes.glsl
ArrayIndexTypes.metal
ArrayMaxDimensions.glsl Limit arrays to a maximum of eight dimensions. 2020-11-10 16:56:27 +00:00
ArrayMaxDimensions.metal Limit arrays to a maximum of eight dimensions. 2020-11-10 16:56:27 +00:00
ArrayTypes.glsl
ArrayTypes.metal
Assignment.glsl Add unit tests for assignment and invalid field access. 2020-09-25 21:42:22 +00:00
Assignment.metal Add unit tests for assignment and invalid field access. 2020-09-25 21:42:22 +00:00
BoolFolding.glsl
BoolFolding.metal
Caps.glsl Disable "any" function workaround in standalone/non-GPU caps 2020-11-03 17:36:43 +00:00
Caps.metal Disable "any" function workaround in standalone/non-GPU caps 2020-11-03 17:36:43 +00:00
CastsRoundTowardZero.glsl
CastsRoundTowardZero.metal
Clockwise.glsl
Clockwise.metal
ComplexDelete.glsl
ComplexDelete.metal
ConstantIf.glsl
ConstantIf.metal
ConstArray.glsl
ConstArray.metal
ConstVariableComparison.glsl
ConstVariableComparison.metal
Control.glsl
Control.metal
CrossIntrinsic.glsl Revert "Reland "Remove inliner from IR generation stage."" 2020-10-13 15:20:28 +00:00
CrossIntrinsicStandaloneSettings.glsl Revert "Reland "Remove inliner from IR generation stage."" 2020-10-13 15:20:28 +00:00
DeadDoWhileLoop.glsl
DeadDoWhileLoop.metal
DeadIfStatement.glsl Fix use-after-free error discovered by the fuzzer. 2020-11-03 17:59:02 +00:00
DeadIfStatement.metal Fix use-after-free error discovered by the fuzzer. 2020-11-03 17:59:02 +00:00
DeadLoopVariable.glsl
DeadLoopVariable.metal
DependentInitializers.glsl
DependentInitializers.metal
Derivatives.glsl
DerivativesFlipY.glsl
DerivativesFlipYStandaloneSettings.glsl
DerivativesStandaloneSettings.glsl
DerivativesUnused.glsl
DerivativesUnused.metal
Discard.glsl Always declare sk_FragColor in GLSL, even if unused 2020-10-20 21:13:31 +00:00
Discard.metal
FloatFolding.glsl
FloatFolding.metal
FragCoordsFlipY.glsl
FragCoordsFlipY.metal
FragCoordsNew.glsl
FragCoordsNew.metal
FragCoordsOld.glsl
FragCoordsOld.metal
FrExp.glsl
FrExp.metal Fix frexp support in Metal. 2020-10-20 15:31:31 +00:00
FunctionArgumentMatch.glsl
FunctionArgumentMatch.metal
FunctionPrototype.glsl Improve support for function prototypes in SkSL. 2020-11-03 19:09:25 +00:00
FunctionPrototype.metal Improve support for function prototypes in SkSL. 2020-11-03 19:09:25 +00:00
Functions.glsl Fix flipped array dimensions in SkSL. 2020-11-10 18:08:29 +00:00
Functions.metal Fix flipped array dimensions in SkSL. 2020-11-10 18:08:29 +00:00
Geometry.glsl
Geometry.metal Fail gracefully when Metal encounters a geometry shader. 2020-09-25 21:21:50 +00:00
GeometryExtension.glsl
GeometryExtension.metal Fail gracefully when Metal encounters a geometry shader. 2020-09-25 21:21:50 +00:00
GeometryGSInvocations.glsl
GeometryGSInvocations.metal Fail gracefully when Metal encounters a geometry shader. 2020-09-25 21:21:50 +00:00
GeometryNoGSInvocations.glsl Revert "Reland "Remove inliner from IR generation stage."" 2020-10-13 15:20:28 +00:00
GeometryNoGSInvocations.metal Fail gracefully when Metal encounters a geometry shader. 2020-09-25 21:21:50 +00:00
GeometryNoGSInvocationsReorder.glsl Revert "Reland "Remove inliner from IR generation stage."" 2020-10-13 15:20:28 +00:00
GeometryNoGSInvocationsReorder.metal Add geometry shader test demonstrating max_vertices/invocations bug 2020-10-12 21:19:33 +00:00
Height.glsl
Height.metal
HelloWorld.glsl
HelloWorld.metal
Hex.glsl
Hex.metal
InstanceID.glsl
InstanceID.metal
InterfaceBlockAnonymous.glsl
InterfaceBlockAnonymous.metal
InterfaceBlockArray.glsl
InterfaceBlockArray.metal
InterfaceBlockNamed.glsl
InterfaceBlockNamed.metal
IntFolding.glsl Add unit test to demonstrate error with modulo in FP files. 2020-10-29 20:46:08 +00:00
IntFolding.metal Add unit test to demonstrate error with modulo in FP files. 2020-10-29 20:46:08 +00:00
Matrices.glsl Convert remaining Metal tests to golden outputs. 2020-11-16 16:32:56 +00:00
Matrices.metal Convert remaining Metal tests to golden outputs. 2020-11-16 16:32:56 +00:00
MatrixFolding.glsl
MatrixFolding.metal
MultipleAssignments.glsl
MultipleAssignments.metal
NegatedVectorLiteral.glsl Improve constant folding for int vectors. 2020-11-06 17:22:34 +00:00
NegatedVectorLiteral.metal Improve constant folding for int vectors. 2020-11-06 17:22:34 +00:00
NoFragCoordsPos.glsl
NoFragCoordsPos.metal
NoFragCoordsPosRT.glsl
NoFragCoordsPosRT.metal
NormalizationGeo.glsl
NormalizationGeo.metal Report the correct line number when vardecls have an error. 2020-11-17 16:32:23 +00:00
NormalizationVert.glsl
NormalizationVert.metal
NumberConversions.glsl
NumberConversions.metal
Offset.glsl
Offset.metal
Operators.glsl Only include one variable per declaration statement 2020-10-07 17:27:01 +00:00
Operators.metal Only include one variable per declaration statement 2020-10-07 17:27:01 +00:00
Ossfuzz26167.glsl Fix use-after-free discovered by fuzzer. 2020-10-23 16:10:15 +00:00
Ossfuzz26167.metal Fix use-after-free discovered by fuzzer. 2020-10-23 16:10:15 +00:00
OutParams.glsl Revert "Reland "Remove inliner from IR generation stage."" 2020-10-13 15:20:28 +00:00
OutParams.metal Revert "Reland "Remove inliner from IR generation stage."" 2020-10-13 15:20:28 +00:00
OutParamsTricky.glsl Revert "Reland "Remove inliner from IR generation stage."" 2020-10-13 15:20:28 +00:00
OutParamsTricky.metal Revert "Reland "Remove inliner from IR generation stage."" 2020-10-13 15:20:28 +00:00
RectangleTexture.glsl
RectangleTexture.metal
ResizeMatrix.glsl
ResizeMatrix.metal
SampleMask.glsl
SampleMask.metal
ScopedSymbol.glsl
ScopedSymbol.metal
ShortCircuitBoolFolding.glsl
ShortCircuitBoolFolding.metal
StackingVectorCasts.glsl
StackingVectorCasts.metal
StaticIf.glsl
StaticIf.metal
StaticSwitch.glsl
StaticSwitch.metal
StaticSwitchWithBreak.glsl
StaticSwitchWithBreak.metal
StaticSwitchWithBreakInsideBlock.glsl
StaticSwitchWithBreakInsideBlock.metal
StaticSwitchWithConditionalBreak.glsl
StaticSwitchWithConditionalBreak.metal
StaticSwitchWithConditionalBreakInsideBlock.glsl
StaticSwitchWithConditionalBreakInsideBlock.metal
StaticSwitchWithFallthroughA.glsl
StaticSwitchWithFallthroughA.metal
StaticSwitchWithFallthroughB.glsl
StaticSwitchWithFallthroughB.metal
StaticSwitchWithStaticConditionalBreak.glsl
StaticSwitchWithStaticConditionalBreak.metal
StaticSwitchWithStaticConditionalBreakInsideBlock.glsl
StaticSwitchWithStaticConditionalBreakInsideBlock.metal
StructMaxDepth.glsl Limit struct nesting depth to a maximum of eight levels. 2020-11-10 16:58:37 +00:00
StructMaxDepth.metal Limit struct nesting depth to a maximum of eight levels. 2020-11-10 16:58:37 +00:00
Structs.glsl
Structs.metal
Switch.glsl
Switch.metal
SwitchContainingDeadCode.glsl
SwitchContainingDeadCode.metal
SwitchWithFallthrough.glsl
SwitchWithFallthrough.metal
SwizzleBoolConstants.glsl
SwizzleBoolConstants.metal
SwizzleConstants.glsl
SwizzleConstants.metal
SwizzleLTRB.glsl
SwizzleLTRB.metal
SwizzleOpt.glsl Add unit test to demonstrate lack of SkSL swizzle optimization. 2020-09-28 19:02:03 +00:00
SwizzleOpt.metal Add unit test to demonstrate lack of SkSL swizzle optimization. 2020-09-28 19:02:03 +00:00
SwizzleScalar.glsl
SwizzleScalar.metal
TernaryAsLValueEntirelyFoldable.glsl
TernaryAsLValueEntirelyFoldable.metal
TernaryAsLValueFoldableTest.glsl Only include one variable per declaration statement 2020-10-07 17:27:01 +00:00
TernaryAsLValueFoldableTest.metal Only include one variable per declaration statement 2020-10-07 17:27:01 +00:00
Texture1D.glsl Split Texture test into separate 1D and 2D tests. 2020-11-02 14:39:31 +00:00
Texture1D.metal Split Texture test into separate 1D and 2D tests. 2020-11-02 14:39:31 +00:00
Texture2D.glsl Split Texture test into separate 1D and 2D tests. 2020-11-02 14:39:31 +00:00
Texture2D.metal Split Texture test into separate 1D and 2D tests. 2020-11-02 14:39:31 +00:00
TextureSharpen.glsl Detect non-2D textures in MetalCodeGenerator and fail cleanly 2020-10-02 20:36:04 +00:00
TextureSharpen.metal Report the correct line number when vardecls have an error. 2020-11-17 16:32:23 +00:00
UnaryPositiveNegative.glsl Allow constant propagation for negated constant-vectors and ints. 2020-11-05 17:39:48 +00:00
UnaryPositiveNegative.metal Allow constant propagation for negated constant-vectors and ints. 2020-11-05 17:39:48 +00:00
UnusedVariables.glsl Only include one variable per declaration statement 2020-10-07 17:27:01 +00:00
UnusedVariables.metal Only include one variable per declaration statement 2020-10-07 17:27:01 +00:00
VectorConstructors.glsl
VectorConstructors.metal
VectorFolding.glsl Improve constant folding for int vectors. 2020-11-06 17:22:34 +00:00
VectorFolding.metal Improve constant folding for int vectors. 2020-11-06 17:22:34 +00:00
VertexID.glsl
VertexID.metal
Width.glsl
Width.metal