skia2/tests/sksl/shared/golden
Brian Osman 034f78a466 Detect non-2D textures in MetalCodeGenerator and fail cleanly
We were letting this get further, then asserting.

Bug: skia:10797
Change-Id: Iff6fe43aa32450b5a517c94773031d593f1f62a2
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/321794
Commit-Queue: Brian Osman <brianosman@google.com>
Auto-Submit: Brian Osman <brianosman@google.com>
Reviewed-by: John Stiles <johnstiles@google.com>
2020-10-02 20:36:04 +00:00
..
ArrayConstructors.glsl Migrate most SkSL tests currently in /glsl/ to /shared/. 2020-09-25 17:13:53 +00:00
ArrayConstructors.metal Add golden outputs for the Metal backend. 2020-09-25 17:46:43 +00:00
ArrayIndexTypes.glsl Migrate most SkSL tests currently in /glsl/ to /shared/. 2020-09-25 17:13:53 +00:00
ArrayIndexTypes.metal Add golden outputs for the Metal backend. 2020-09-25 17:46:43 +00:00
ArrayTypes.glsl Migrate most SkSL tests currently in /glsl/ to /shared/. 2020-09-25 17:13:53 +00:00
ArrayTypes.metal Add golden outputs for the Metal backend. 2020-09-25 17:46:43 +00:00
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 Migrate most SkSL tests currently in /glsl/ to /shared/. 2020-09-25 17:13:53 +00:00
BoolFolding.metal Add golden outputs for the Metal backend. 2020-09-25 17:46:43 +00:00
Caps.glsl Migrate most SkSL tests currently in /glsl/ to /shared/. 2020-09-25 17:13:53 +00:00
Caps.metal Add golden outputs for the Metal backend. 2020-09-25 17:46:43 +00:00
CastsRoundTowardZero.glsl Migrate most SkSL tests currently in /glsl/ to /shared/. 2020-09-25 17:13:53 +00:00
CastsRoundTowardZero.metal Add golden outputs for the Metal backend. 2020-09-25 17:46:43 +00:00
Clockwise.glsl Migrate most SkSL tests currently in /glsl/ to /shared/. 2020-09-25 17:13:53 +00:00
Clockwise.metal Add golden outputs for the Metal backend. 2020-09-25 17:46:43 +00:00
ComplexDelete.glsl Add golden outputs for the Metal backend. 2020-09-25 17:46:43 +00:00
ComplexDelete.metal Add golden outputs for the Metal backend. 2020-09-25 17:46:43 +00:00
ConstantIf.glsl Migrate most SkSL tests currently in /glsl/ to /shared/. 2020-09-25 17:13:53 +00:00
ConstantIf.metal Add golden outputs for the Metal backend. 2020-09-25 17:46:43 +00:00
ConstArray.glsl Migrate most SkSL tests currently in /glsl/ to /shared/. 2020-09-25 17:13:53 +00:00
ConstArray.metal Add golden outputs for the Metal backend. 2020-09-25 17:46:43 +00:00
ConstVariableComparison.glsl Migrate most SkSL tests currently in /glsl/ to /shared/. 2020-09-25 17:13:53 +00:00
ConstVariableComparison.metal Add golden outputs for the Metal backend. 2020-09-25 17:46:43 +00:00
Control.glsl Migrate most SkSL tests currently in /glsl/ to /shared/. 2020-09-25 17:13:53 +00:00
Control.metal Add golden outputs for the Metal backend. 2020-09-25 17:46:43 +00:00
DeadDoWhileLoop.glsl Migrate most SkSL tests currently in /glsl/ to /shared/. 2020-09-25 17:13:53 +00:00
DeadDoWhileLoop.metal Add golden outputs for the Metal backend. 2020-09-25 17:46:43 +00:00
DeadLoopVariable.glsl Migrate most SkSL tests currently in /glsl/ to /shared/. 2020-09-25 17:13:53 +00:00
DeadLoopVariable.metal Add golden outputs for the Metal backend. 2020-09-25 17:46:43 +00:00
DependentInitializers.glsl Migrate most SkSL tests currently in /glsl/ to /shared/. 2020-09-25 17:13:53 +00:00
DependentInitializers.metal Add golden outputs for the Metal backend. 2020-09-25 17:46:43 +00:00
Derivatives.glsl Migrate most SkSL tests currently in /glsl/ to /shared/. 2020-09-25 17:13:53 +00:00
DerivativesFlipY.glsl Migrate most SkSL tests currently in /glsl/ to /shared/. 2020-09-25 17:13:53 +00:00
DerivativesFlipYStandaloneSettings.glsl Migrate most SkSL tests currently in /glsl/ to /shared/. 2020-09-25 17:13:53 +00:00
DerivativesStandaloneSettings.glsl Migrate most SkSL tests currently in /glsl/ to /shared/. 2020-09-25 17:13:53 +00:00
DerivativesUnused.glsl Migrate most SkSL tests currently in /glsl/ to /shared/. 2020-09-25 17:13:53 +00:00
DerivativesUnused.metal Add golden outputs for the Metal backend. 2020-09-25 17:46:43 +00:00
Discard.glsl Migrate most SkSL tests currently in /glsl/ to /shared/. 2020-09-25 17:13:53 +00:00
Discard.metal Add golden outputs for the Metal backend. 2020-09-25 17:46:43 +00:00
FloatFolding.glsl Migrate most SkSL tests currently in /glsl/ to /shared/. 2020-09-25 17:13:53 +00:00
FloatFolding.metal Add golden outputs for the Metal backend. 2020-09-25 17:46:43 +00:00
FragCoordsFlipY.glsl Migrate most SkSL tests currently in /glsl/ to /shared/. 2020-09-25 17:13:53 +00:00
FragCoordsFlipY.metal Add golden outputs for the Metal backend. 2020-09-25 17:46:43 +00:00
FragCoordsNew.glsl Migrate most SkSL tests currently in /glsl/ to /shared/. 2020-09-25 17:13:53 +00:00
FragCoordsNew.metal Add golden outputs for the Metal backend. 2020-09-25 17:46:43 +00:00
FragCoordsOld.glsl Migrate most SkSL tests currently in /glsl/ to /shared/. 2020-09-25 17:13:53 +00:00
FragCoordsOld.metal Add golden outputs for the Metal backend. 2020-09-25 17:46:43 +00:00
FrExp.glsl Migrate most SkSL tests currently in /glsl/ to /shared/. 2020-09-25 17:13:53 +00:00
FrExp.metal Add golden outputs for the Metal backend. 2020-09-25 17:46:43 +00:00
FunctionArgumentMatch.glsl Migrate most SkSL tests currently in /glsl/ to /shared/. 2020-09-25 17:13:53 +00:00
FunctionArgumentMatch.metal Add golden outputs for the Metal backend. 2020-09-25 17:46:43 +00:00
FunctionPrototype.glsl Migrate most SkSL tests currently in /glsl/ to /shared/. 2020-09-25 17:13:53 +00:00
FunctionPrototype.metal Add golden outputs for the Metal backend. 2020-09-25 17:46:43 +00:00
Functions.glsl Migrate most SkSL tests currently in /glsl/ to /shared/. 2020-09-25 17:13:53 +00:00
Functions.metal Add golden outputs for the Metal backend. 2020-09-25 17:46:43 +00:00
Geometry.glsl Migrate most SkSL tests currently in /glsl/ to /shared/. 2020-09-25 17:13:53 +00:00
Geometry.metal Fail gracefully when Metal encounters a geometry shader. 2020-09-25 21:21:50 +00:00
GeometryExtension.glsl Migrate most SkSL tests currently in /glsl/ to /shared/. 2020-09-25 17:13:53 +00:00
GeometryExtension.metal Fail gracefully when Metal encounters a geometry shader. 2020-09-25 21:21:50 +00:00
GeometryGSInvocations.glsl Migrate most SkSL tests currently in /glsl/ to /shared/. 2020-09-25 17:13:53 +00:00
GeometryGSInvocations.metal Fail gracefully when Metal encounters a geometry shader. 2020-09-25 21:21:50 +00:00
GeometryNoGSInvocations.glsl Migrate most SkSL tests currently in /glsl/ to /shared/. 2020-09-25 17:13:53 +00:00
GeometryNoGSInvocations.metal Fail gracefully when Metal encounters a geometry shader. 2020-09-25 21:21:50 +00:00
Height.glsl Migrate most SkSL tests currently in /glsl/ to /shared/. 2020-09-25 17:13:53 +00:00
Height.metal Add golden outputs for the Metal backend. 2020-09-25 17:46:43 +00:00
HelloWorld.glsl Migrate most SkSL tests currently in /glsl/ to /shared/. 2020-09-25 17:13:53 +00:00
HelloWorld.metal Add golden outputs for the Metal backend. 2020-09-25 17:46:43 +00:00
Hex.glsl Migrate most SkSL tests currently in /glsl/ to /shared/. 2020-09-25 17:13:53 +00:00
Hex.metal Add golden outputs for the Metal backend. 2020-09-25 17:46:43 +00:00
InstanceID.glsl Migrate most SkSL tests currently in /glsl/ to /shared/. 2020-09-25 17:13:53 +00:00
InstanceID.metal Add golden outputs for the Metal backend. 2020-09-25 17:46:43 +00:00
InterfaceBlockAnonymous.glsl Migrate most SkSL tests currently in /glsl/ to /shared/. 2020-09-25 17:13:53 +00:00
InterfaceBlockAnonymous.metal Add golden outputs for the Metal backend. 2020-09-25 17:46:43 +00:00
InterfaceBlockArray.glsl Migrate most SkSL tests currently in /glsl/ to /shared/. 2020-09-25 17:13:53 +00:00
InterfaceBlockArray.metal Add golden outputs for the Metal backend. 2020-09-25 17:46:43 +00:00
InterfaceBlockNamed.glsl Migrate most SkSL tests currently in /glsl/ to /shared/. 2020-09-25 17:13:53 +00:00
InterfaceBlockNamed.metal Add golden outputs for the Metal backend. 2020-09-25 17:46:43 +00:00
IntFolding.glsl Migrate most SkSL tests currently in /glsl/ to /shared/. 2020-09-25 17:13:53 +00:00
IntFolding.metal Add golden outputs for the Metal backend. 2020-09-25 17:46:43 +00:00
Matrices.glsl Migrate most SkSL tests currently in /glsl/ to /shared/. 2020-09-25 17:13:53 +00:00
Matrices.metal Add golden outputs for the Metal backend. 2020-09-25 17:46:43 +00:00
MatrixFolding.glsl Migrate most SkSL tests currently in /glsl/ to /shared/. 2020-09-25 17:13:53 +00:00
MatrixFolding.metal Add golden outputs for the Metal backend. 2020-09-25 17:46:43 +00:00
MultipleAssignments.glsl Migrate most SkSL tests currently in /glsl/ to /shared/. 2020-09-25 17:13:53 +00:00
MultipleAssignments.metal Add golden outputs for the Metal backend. 2020-09-25 17:46:43 +00:00
NegatedVectorLiteral.glsl Migrate most SkSL tests currently in /glsl/ to /shared/. 2020-09-25 17:13:53 +00:00
NegatedVectorLiteral.metal Add golden outputs for the Metal backend. 2020-09-25 17:46:43 +00:00
NoFragCoordsPos.glsl Migrate most SkSL tests currently in /glsl/ to /shared/. 2020-09-25 17:13:53 +00:00
NoFragCoordsPos.metal Add golden outputs for the Metal backend. 2020-09-25 17:46:43 +00:00
NoFragCoordsPosRT.glsl Add golden outputs for the Metal backend. 2020-09-25 17:46:43 +00:00
NoFragCoordsPosRT.metal Add golden outputs for the Metal backend. 2020-09-25 17:46:43 +00:00
NormalizationGeo.glsl Migrate most SkSL tests currently in /glsl/ to /shared/. 2020-09-25 17:13:53 +00:00
NormalizationGeo.metal Fail gracefully when Metal encounters a geometry shader. 2020-09-25 21:21:50 +00:00
NormalizationVert.glsl Add golden outputs for the Metal backend. 2020-09-25 17:46:43 +00:00
NormalizationVert.metal Add golden outputs for the Metal backend. 2020-09-25 17:46:43 +00:00
NumberConversions.glsl Migrate most SkSL tests currently in /glsl/ to /shared/. 2020-09-25 17:13:53 +00:00
NumberConversions.metal Add golden outputs for the Metal backend. 2020-09-25 17:46:43 +00:00
Offset.glsl Migrate most SkSL tests currently in /glsl/ to /shared/. 2020-09-25 17:13:53 +00:00
Offset.metal Add golden outputs for the Metal backend. 2020-09-25 17:46:43 +00:00
Operators.glsl Migrate most SkSL tests currently in /glsl/ to /shared/. 2020-09-25 17:13:53 +00:00
Operators.metal Add golden outputs for the Metal backend. 2020-09-25 17:46:43 +00:00
OutParams.glsl Avoid creating temporary variables for nested trivial cases. 2020-09-30 13:31:37 +00:00
OutParams.metal Avoid creating temporary variables for nested trivial cases. 2020-09-30 13:31:37 +00:00
OutParamsTricky.glsl Allow more types of expressions to be directly inlined. 2020-09-30 00:36:40 +00:00
OutParamsTricky.metal Allow more types of expressions to be directly inlined. 2020-09-30 00:36:40 +00:00
RectangleTexture.glsl Add golden outputs for the Metal backend. 2020-09-25 17:46:43 +00:00
RectangleTexture.metal Add golden outputs for the Metal backend. 2020-09-25 17:46:43 +00:00
ResizeMatrix.glsl Migrate most SkSL tests currently in /glsl/ to /shared/. 2020-09-25 17:13:53 +00:00
ResizeMatrix.metal Add golden outputs for the Metal backend. 2020-09-25 17:46:43 +00:00
SampleMask.glsl Migrate most SkSL tests currently in /glsl/ to /shared/. 2020-09-25 17:13:53 +00:00
SampleMask.metal Add golden outputs for the Metal backend. 2020-09-25 17:46:43 +00:00
ScopedSymbol.glsl Migrate most SkSL tests currently in /glsl/ to /shared/. 2020-09-25 17:13:53 +00:00
ScopedSymbol.metal Add golden outputs for the Metal backend. 2020-09-25 17:46:43 +00:00
ShortCircuitBoolFolding.glsl Migrate most SkSL tests currently in /glsl/ to /shared/. 2020-09-25 17:13:53 +00:00
ShortCircuitBoolFolding.metal Add golden outputs for the Metal backend. 2020-09-25 17:46:43 +00:00
StackingVectorCasts.glsl Migrate most SkSL tests currently in /glsl/ to /shared/. 2020-09-25 17:13:53 +00:00
StackingVectorCasts.metal Add golden outputs for the Metal backend. 2020-09-25 17:46:43 +00:00
StaticIf.glsl Migrate most SkSL tests currently in /glsl/ to /shared/. 2020-09-25 17:13:53 +00:00
StaticIf.metal Add golden outputs for the Metal backend. 2020-09-25 17:46:43 +00:00
StaticSwitch.glsl Migrate most SkSL tests currently in /glsl/ to /shared/. 2020-09-25 17:13:53 +00:00
StaticSwitch.metal Add golden outputs for the Metal backend. 2020-09-25 17:46:43 +00:00
StaticSwitchWithBreak.glsl Migrate most SkSL tests currently in /glsl/ to /shared/. 2020-09-25 17:13:53 +00:00
StaticSwitchWithBreak.metal Add golden outputs for the Metal backend. 2020-09-25 17:46:43 +00:00
StaticSwitchWithBreakInsideBlock.glsl Migrate most SkSL tests currently in /glsl/ to /shared/. 2020-09-25 17:13:53 +00:00
StaticSwitchWithBreakInsideBlock.metal Add golden outputs for the Metal backend. 2020-09-25 17:46:43 +00:00
StaticSwitchWithConditionalBreak.glsl Migrate most SkSL tests currently in /glsl/ to /shared/. 2020-09-25 17:13:53 +00:00
StaticSwitchWithConditionalBreak.metal Add golden outputs for the Metal backend. 2020-09-25 17:46:43 +00:00
StaticSwitchWithConditionalBreakInsideBlock.glsl Migrate most SkSL tests currently in /glsl/ to /shared/. 2020-09-25 17:13:53 +00:00
StaticSwitchWithConditionalBreakInsideBlock.metal Add golden outputs for the Metal backend. 2020-09-25 17:46:43 +00:00
StaticSwitchWithFallthroughA.glsl Migrate most SkSL tests currently in /glsl/ to /shared/. 2020-09-25 17:13:53 +00:00
StaticSwitchWithFallthroughA.metal Add golden outputs for the Metal backend. 2020-09-25 17:46:43 +00:00
StaticSwitchWithFallthroughB.glsl Migrate most SkSL tests currently in /glsl/ to /shared/. 2020-09-25 17:13:53 +00:00
StaticSwitchWithFallthroughB.metal Add golden outputs for the Metal backend. 2020-09-25 17:46:43 +00:00
StaticSwitchWithStaticConditionalBreak.glsl Migrate most SkSL tests currently in /glsl/ to /shared/. 2020-09-25 17:13:53 +00:00
StaticSwitchWithStaticConditionalBreak.metal Add golden outputs for the Metal backend. 2020-09-25 17:46:43 +00:00
StaticSwitchWithStaticConditionalBreakInsideBlock.glsl Migrate most SkSL tests currently in /glsl/ to /shared/. 2020-09-25 17:13:53 +00:00
StaticSwitchWithStaticConditionalBreakInsideBlock.metal Add golden outputs for the Metal backend. 2020-09-25 17:46:43 +00:00
Structs.glsl Migrate most SkSL tests currently in /glsl/ to /shared/. 2020-09-25 17:13:53 +00:00
Structs.metal Add golden outputs for the Metal backend. 2020-09-25 17:46:43 +00:00
Switch.glsl Migrate most SkSL tests currently in /glsl/ to /shared/. 2020-09-25 17:13:53 +00:00
Switch.metal Add golden outputs for the Metal backend. 2020-09-25 17:46:43 +00:00
SwitchContainingDeadCode.glsl Migrate most SkSL tests currently in /glsl/ to /shared/. 2020-09-25 17:13:53 +00:00
SwitchContainingDeadCode.metal Add golden outputs for the Metal backend. 2020-09-25 17:46:43 +00:00
SwitchWithFallthrough.glsl Migrate most SkSL tests currently in /glsl/ to /shared/. 2020-09-25 17:13:53 +00:00
SwitchWithFallthrough.metal Add golden outputs for the Metal backend. 2020-09-25 17:46:43 +00:00
SwizzleBoolConstants.glsl Add golden outputs for the Metal backend. 2020-09-25 17:46:43 +00:00
SwizzleBoolConstants.metal Add golden outputs for the Metal backend. 2020-09-25 17:46:43 +00:00
SwizzleConstants.glsl Migrate most SkSL tests currently in /glsl/ to /shared/. 2020-09-25 17:13:53 +00:00
SwizzleConstants.metal Add golden outputs for the Metal backend. 2020-09-25 17:46:43 +00:00
SwizzleLTRB.glsl Migrate most SkSL tests currently in /glsl/ to /shared/. 2020-09-25 17:13:53 +00:00
SwizzleLTRB.metal Add golden outputs for the Metal backend. 2020-09-25 17:46:43 +00:00
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 Migrate most SkSL tests currently in /glsl/ to /shared/. 2020-09-25 17:13:53 +00:00
SwizzleScalar.metal Add golden outputs for the Metal backend. 2020-09-25 17:46:43 +00:00
TernaryAsLValueEntirelyFoldable.glsl Migrate most SkSL tests currently in /glsl/ to /shared/. 2020-09-25 17:13:53 +00:00
TernaryAsLValueEntirelyFoldable.metal Add golden outputs for the Metal backend. 2020-09-25 17:46:43 +00:00
TernaryAsLValueFoldableTest.glsl Migrate most SkSL tests currently in /glsl/ to /shared/. 2020-09-25 17:13:53 +00:00
TernaryAsLValueFoldableTest.metal Add golden outputs for the Metal backend. 2020-09-25 17:46:43 +00:00
Texture.glsl Detect non-2D textures in MetalCodeGenerator and fail cleanly 2020-10-02 20:36:04 +00:00
Texture.metal Detect non-2D textures in MetalCodeGenerator and fail cleanly 2020-10-02 20:36:04 +00:00
TextureSharpen.glsl Detect non-2D textures in MetalCodeGenerator and fail cleanly 2020-10-02 20:36:04 +00:00
TextureSharpen.metal Detect non-2D textures in MetalCodeGenerator and fail cleanly 2020-10-02 20:36:04 +00:00
UnaryPositiveNegative.glsl Migrate most SkSL tests currently in /glsl/ to /shared/. 2020-09-25 17:13:53 +00:00
UnaryPositiveNegative.metal Add golden outputs for the Metal backend. 2020-09-25 17:46:43 +00:00
UnusedVariables.glsl Migrate most SkSL tests currently in /glsl/ to /shared/. 2020-09-25 17:13:53 +00:00
UnusedVariables.metal Add golden outputs for the Metal backend. 2020-09-25 17:46:43 +00:00
VectorConstructors.glsl Migrate most SkSL tests currently in /glsl/ to /shared/. 2020-09-25 17:13:53 +00:00
VectorConstructors.metal Add golden outputs for the Metal backend. 2020-09-25 17:46:43 +00:00
VectorFolding.glsl Migrate most SkSL tests currently in /glsl/ to /shared/. 2020-09-25 17:13:53 +00:00
VectorFolding.metal Add golden outputs for the Metal backend. 2020-09-25 17:46:43 +00:00
VertexID.glsl Migrate most SkSL tests currently in /glsl/ to /shared/. 2020-09-25 17:13:53 +00:00
VertexID.metal Add golden outputs for the Metal backend. 2020-09-25 17:46:43 +00:00
Width.glsl Migrate most SkSL tests currently in /glsl/ to /shared/. 2020-09-25 17:13:53 +00:00
Width.metal Add golden outputs for the Metal backend. 2020-09-25 17:46:43 +00:00