skia2/tests/sksl/shared
John Stiles 04ca41acf3 Fix switch optimization pass.
The optimizer now properly recognizes all types of exits from a switch
statement. Break, continue and return are all potential exits and need
to be considered when determining the exit path from the switch.

Previously, dead code elimination was hiding the effects of this bug
from us, but it meant that an optimized switch had the potential to
generate lots of worthless IR nodes which then needed to be detected and
eliminated by the CFG. In particular, this affected the enum form of
blend, causing a catastrophic amount of extra work to be done.

Change-Id: If857e38cadfc016884624ea4db25a273ad3dce5b
Bug: skia:11352
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/372958
Commit-Queue: John Stiles <johnstiles@google.com>
Auto-Submit: John Stiles <johnstiles@google.com>
Reviewed-by: Brian Osman <brianosman@google.com>
2021-02-23 15:38:24 +00:00
..
ArrayConstructors.asm.frag Reland "Improve support for arrays in Metal." 2021-02-04 17:33:28 +00:00
ArrayConstructors.glsl Reland "Improve support for arrays in Metal." 2021-02-04 17:33:28 +00:00
ArrayConstructors.metal Reland "Improve support for arrays in Metal." 2021-02-04 17:33:28 +00:00
ArrayIndexTypes.asm.frag Migrate SkSL test inputs to the resources/ directory. 2021-01-22 18:57:29 +00:00
ArrayIndexTypes.glsl Migrate SkSL test inputs to the resources/ directory. 2021-01-22 18:57:29 +00:00
ArrayIndexTypes.metal Reland "Improve support for arrays in Metal." 2021-02-04 17:33:28 +00:00
ArrayTypes.asm.frag Reland "Improve support for arrays in Metal." 2021-02-04 17:33:28 +00:00
ArrayTypes.glsl Reland "Improve support for arrays in Metal." 2021-02-04 17:33:28 +00:00
ArrayTypes.metal Reland "Improve support for arrays in Metal." 2021-02-04 17:33:28 +00:00
Assignment.asm.frag Support structs in runtime effects 2021-02-11 21:09:15 +00:00
Assignment.glsl Support structs in runtime effects 2021-02-11 21:09:15 +00:00
Assignment.metal Support structs in runtime effects 2021-02-11 21:09:15 +00:00
Caps.asm.frag Migrate SkSL test inputs to the resources/ directory. 2021-01-22 18:57:29 +00:00
Caps.glsl Migrate SkSL test inputs to the resources/ directory. 2021-01-22 18:57:29 +00:00
Caps.metal Migrate SkSL test inputs to the resources/ directory. 2021-01-22 18:57:29 +00:00
CastsRoundTowardZero.asm.frag Migrate more SkSL tests to run in dm. 2021-02-03 23:45:15 +00:00
CastsRoundTowardZero.glsl Migrate more SkSL tests to run in dm. 2021-02-03 23:45:15 +00:00
CastsRoundTowardZero.metal Migrate more SkSL tests to run in dm. 2021-02-03 23:45:15 +00:00
Clockwise.asm.frag Migrate SkSL test inputs to the resources/ directory. 2021-01-22 18:57:29 +00:00
Clockwise.glsl Migrate SkSL test inputs to the resources/ directory. 2021-01-22 18:57:29 +00:00
Clockwise.metal Migrate SkSL test inputs to the resources/ directory. 2021-01-22 18:57:29 +00:00
CommaMixedTypes.asm.frag Eliminate left-side comma expressions without side effects. 2021-02-05 16:50:33 +00:00
CommaMixedTypes.glsl Eliminate left-side comma expressions without side effects. 2021-02-05 16:50:33 +00:00
CommaMixedTypes.metal Eliminate left-side comma expressions without side effects. 2021-02-05 16:50:33 +00:00
CommaSideEffects.asm.frag Add test to verify side effects from the comma operator. 2021-02-01 16:16:58 +00:00
CommaSideEffects.glsl Add test to verify side effects from the comma operator. 2021-02-01 16:16:58 +00:00
CommaSideEffects.metal Add test to verify side effects from the comma operator. 2021-02-01 16:16:58 +00:00
ComplexDelete.asm.frag Reland "Add support for top-level uniforms in SPIR-V." 2021-01-29 16:12:03 +00:00
ComplexDelete.glsl Migrate SkSL test inputs to the resources/ directory. 2021-01-22 18:57:29 +00:00
ComplexDelete.metal Reland "Add support for matrix == and != in Metal shaders." 2021-02-10 16:13:30 +00:00
ConstantIf.asm.frag Update various shared/ tests to run in dm. 2021-02-01 22:06:59 +00:00
ConstantIf.glsl Update various shared/ tests to run in dm. 2021-02-01 22:06:59 +00:00
ConstantIf.metal Update various shared/ tests to run in dm. 2021-02-01 22:06:59 +00:00
ConstArray.asm.frag Migrate SkSL test inputs to the resources/ directory. 2021-01-22 18:57:29 +00:00
ConstArray.glsl Migrate SkSL test inputs to the resources/ directory. 2021-01-22 18:57:29 +00:00
ConstArray.metal Replace Metal constant keyword with const. 2021-02-10 15:23:25 +00:00
ConstVariableComparison.asm.frag Replace Metal constant keyword with const. 2021-02-10 15:23:25 +00:00
ConstVariableComparison.glsl Replace Metal constant keyword with const. 2021-02-10 15:23:25 +00:00
ConstVariableComparison.metal Replace Metal constant keyword with const. 2021-02-10 15:23:25 +00:00
Control.asm.frag Migrate SkSL test inputs to the resources/ directory. 2021-01-22 18:57:29 +00:00
Control.glsl Migrate SkSL test inputs to the resources/ directory. 2021-01-22 18:57:29 +00:00
Control.metal Migrate SkSL test inputs to the resources/ directory. 2021-01-22 18:57:29 +00:00
DeadDoWhileLoop.asm.frag Migrate SkSL test inputs to the resources/ directory. 2021-01-22 18:57:29 +00:00
DeadDoWhileLoop.glsl Migrate SkSL test inputs to the resources/ directory. 2021-01-22 18:57:29 +00:00
DeadDoWhileLoop.metal Migrate SkSL test inputs to the resources/ directory. 2021-01-22 18:57:29 +00:00
DeadIfStatement.asm.frag Update various shared/ tests to run in dm. 2021-02-01 22:06:59 +00:00
DeadIfStatement.glsl Update various shared/ tests to run in dm. 2021-02-01 22:06:59 +00:00
DeadIfStatement.metal Update various shared/ tests to run in dm. 2021-02-01 22:06:59 +00:00
DeadLoopVariable.asm.frag Migrate more SkSL tests to run in dm. 2021-02-03 23:45:15 +00:00
DeadLoopVariable.glsl Migrate more SkSL tests to run in dm. 2021-02-03 23:45:15 +00:00
DeadLoopVariable.metal Migrate more SkSL tests to run in dm. 2021-02-03 23:45:15 +00:00
DeadStripFunctions.asm.frag Update various shared/ tests to run in dm. 2021-02-01 22:06:59 +00:00
DeadStripFunctions.glsl Update various shared/ tests to run in dm. 2021-02-01 22:06:59 +00:00
DeadStripFunctions.metal Update various shared/ tests to run in dm. 2021-02-01 22:06:59 +00:00
DependentInitializers.asm.frag Update various shared/ tests to run in dm. 2021-02-01 22:06:59 +00:00
DependentInitializers.glsl Update various shared/ tests to run in dm. 2021-02-01 22:06:59 +00:00
DependentInitializers.metal Update various shared/ tests to run in dm. 2021-02-01 22:06:59 +00:00
Derivatives.glsl Migrate SkSL test inputs to the resources/ directory. 2021-01-22 18:57:29 +00:00
DerivativesFlipY.glsl Migrate SkSL test inputs to the resources/ directory. 2021-01-22 18:57:29 +00:00
DerivativesFlipYStandaloneSettings.glsl Migrate SkSL test inputs to the resources/ directory. 2021-01-22 18:57:29 +00:00
DerivativesStandaloneSettings.glsl Migrate SkSL test inputs to the resources/ directory. 2021-01-22 18:57:29 +00:00
DerivativesUnused.asm.frag Migrate SkSL test inputs to the resources/ directory. 2021-01-22 18:57:29 +00:00
DerivativesUnused.glsl Migrate SkSL test inputs to the resources/ directory. 2021-01-22 18:57:29 +00:00
DerivativesUnused.metal Migrate SkSL test inputs to the resources/ directory. 2021-01-22 18:57:29 +00:00
Discard.asm.frag Migrate SkSL test inputs to the resources/ directory. 2021-01-22 18:57:29 +00:00
Discard.glsl Migrate SkSL test inputs to the resources/ directory. 2021-01-22 18:57:29 +00:00
Discard.metal Migrate SkSL test inputs to the resources/ directory. 2021-01-22 18:57:29 +00:00
DoWhileControlFlow.asm.frag Support half4 return values from main() in the SPIR-V code generator. 2021-01-27 02:46:03 +00:00
DoWhileControlFlow.glsl Support half4 return values from main() in the SPIR-V code generator. 2021-01-27 02:46:03 +00:00
DoWhileControlFlow.metal Fix break/continue support inside do-while loops. 2021-01-26 16:55:27 +00:00
EmptyBlocksES2.asm.frag Update various shared/ tests to run in dm. 2021-02-01 22:06:59 +00:00
EmptyBlocksES2.glsl Update various shared/ tests to run in dm. 2021-02-01 22:06:59 +00:00
EmptyBlocksES2.metal Update various shared/ tests to run in dm. 2021-02-01 22:06:59 +00:00
EmptyBlocksES3.asm.frag Update various shared/ tests to run in dm. 2021-02-01 22:06:59 +00:00
EmptyBlocksES3.glsl Update various shared/ tests to run in dm. 2021-02-01 22:06:59 +00:00
EmptyBlocksES3.metal Update various shared/ tests to run in dm. 2021-02-01 22:06:59 +00:00
Enum.asm.frag Migrate SkSL test inputs to the resources/ directory. 2021-01-22 18:57:29 +00:00
Enum.glsl Migrate SkSL test inputs to the resources/ directory. 2021-01-22 18:57:29 +00:00
Enum.metal Migrate SkSL test inputs to the resources/ directory. 2021-01-22 18:57:29 +00:00
ForLoopControlFlow.asm.frag Reland "Add support for top-level uniforms in SPIR-V." 2021-01-29 16:12:03 +00:00
ForLoopControlFlow.glsl Reland "Add SkSL for-loop control flow test to dm." 2021-01-27 15:46:39 +00:00
ForLoopControlFlow.metal Reland "Add SkSL for-loop control flow test to dm." 2021-01-27 15:46:39 +00:00
FragCoordsFlipY.asm.frag Migrate SkSL test inputs to the resources/ directory. 2021-01-22 18:57:29 +00:00
FragCoordsFlipY.glsl Migrate SkSL test inputs to the resources/ directory. 2021-01-22 18:57:29 +00:00
FragCoordsFlipY.metal Migrate SkSL test inputs to the resources/ directory. 2021-01-22 18:57:29 +00:00
FragCoordsNew.asm.frag Migrate SkSL test inputs to the resources/ directory. 2021-01-22 18:57:29 +00:00
FragCoordsNew.glsl Migrate SkSL test inputs to the resources/ directory. 2021-01-22 18:57:29 +00:00
FragCoordsNew.metal Migrate SkSL test inputs to the resources/ directory. 2021-01-22 18:57:29 +00:00
FragCoordsOld.asm.frag Migrate SkSL test inputs to the resources/ directory. 2021-01-22 18:57:29 +00:00
FragCoordsOld.glsl Migrate SkSL test inputs to the resources/ directory. 2021-01-22 18:57:29 +00:00
FragCoordsOld.metal Migrate SkSL test inputs to the resources/ directory. 2021-01-22 18:57:29 +00:00
FunctionArgTypeMatch.asm.frag Update function-type-matching tests to work as Runtime Effects. 2021-02-02 13:47:35 +00:00
FunctionArgTypeMatch.glsl Update function-type-matching tests to work as Runtime Effects. 2021-02-02 13:47:35 +00:00
FunctionArgTypeMatch.metal Update function-type-matching tests to work as Runtime Effects. 2021-02-02 13:47:35 +00:00
FunctionPrototype.asm.frag Migrate more SkSL tests to run in dm. 2021-02-03 23:45:15 +00:00
FunctionPrototype.glsl Migrate more SkSL tests to run in dm. 2021-02-03 23:45:15 +00:00
FunctionPrototype.metal Migrate more SkSL tests to run in dm. 2021-02-03 23:45:15 +00:00
FunctionReturnTypeMatch.asm.frag Update function-type-matching tests to work as Runtime Effects. 2021-02-02 13:47:35 +00:00
FunctionReturnTypeMatch.glsl Update function-type-matching tests to work as Runtime Effects. 2021-02-02 13:47:35 +00:00
FunctionReturnTypeMatch.metal Update function-type-matching tests to work as Runtime Effects. 2021-02-02 13:47:35 +00:00
Functions.asm.frag Migrate more SkSL tests to run in dm. 2021-02-03 23:45:15 +00:00
Functions.glsl Migrate more SkSL tests to run in dm. 2021-02-03 23:45:15 +00:00
Functions.metal Reland "Improve support for arrays in Metal." 2021-02-04 17:33:28 +00:00
GaussianBlur.asm.frag Add default uniform set value to SkSL Program settings. 2021-01-27 00:52:16 +00:00
GaussianBlur.glsl Migrate SkSL test inputs to the resources/ directory. 2021-01-22 18:57:29 +00:00
GaussianBlur.metal Reland "Improve support for arrays in Metal." 2021-02-04 17:33:28 +00:00
GeometricIntrinsics.asm.frag Eliminate left-side comma expressions without side effects. 2021-02-05 16:50:33 +00:00
GeometricIntrinsics.glsl Eliminate left-side comma expressions without side effects. 2021-02-05 16:50:33 +00:00
GeometricIntrinsics.metal Eliminate left-side comma expressions without side effects. 2021-02-05 16:50:33 +00:00
Geometry.asm.geom Migrate SkSL test inputs to the resources/ directory. 2021-01-22 18:57:29 +00:00
Geometry.glsl Migrate SkSL test inputs to the resources/ directory. 2021-01-22 18:57:29 +00:00
Geometry.metal Migrate SkSL test inputs to the resources/ directory. 2021-01-22 18:57:29 +00:00
GeometryExtension.asm.geom Migrate SkSL test inputs to the resources/ directory. 2021-01-22 18:57:29 +00:00
GeometryExtension.glsl Migrate SkSL test inputs to the resources/ directory. 2021-01-22 18:57:29 +00:00
GeometryExtension.metal Migrate SkSL test inputs to the resources/ directory. 2021-01-22 18:57:29 +00:00
GeometryGSInvocations.asm.geom Migrate SkSL test inputs to the resources/ directory. 2021-01-22 18:57:29 +00:00
GeometryGSInvocations.glsl Migrate SkSL test inputs to the resources/ directory. 2021-01-22 18:57:29 +00:00
GeometryGSInvocations.metal Migrate SkSL test inputs to the resources/ directory. 2021-01-22 18:57:29 +00:00
GeometryNoGSInvocations.asm.geom Migrate SkSL test inputs to the resources/ directory. 2021-01-22 18:57:29 +00:00
GeometryNoGSInvocations.glsl Migrate SkSL test inputs to the resources/ directory. 2021-01-22 18:57:29 +00:00
GeometryNoGSInvocations.metal Migrate SkSL test inputs to the resources/ directory. 2021-01-22 18:57:29 +00:00
GeometryNoGSInvocationsReorder.asm.geom Migrate SkSL test inputs to the resources/ directory. 2021-01-22 18:57:29 +00:00
GeometryNoGSInvocationsReorder.glsl Migrate SkSL test inputs to the resources/ directory. 2021-01-22 18:57:29 +00:00
GeometryNoGSInvocationsReorder.metal Migrate SkSL test inputs to the resources/ directory. 2021-01-22 18:57:29 +00:00
Height.asm.frag Migrate SkSL test inputs to the resources/ directory. 2021-01-22 18:57:29 +00:00
Height.glsl Migrate SkSL test inputs to the resources/ directory. 2021-01-22 18:57:29 +00:00
Height.metal Migrate SkSL test inputs to the resources/ directory. 2021-01-22 18:57:29 +00:00
HelloWorld.asm.frag Migrate more SkSL tests to run in dm. 2021-02-03 23:45:15 +00:00
HelloWorld.glsl Migrate more SkSL tests to run in dm. 2021-02-03 23:45:15 +00:00
HelloWorld.metal Migrate more SkSL tests to run in dm. 2021-02-03 23:45:15 +00:00
Hex.asm.frag Re-enable SkSL Hex test with constants that fit in 16 bits. 2021-02-04 17:15:08 +00:00
Hex.glsl Re-enable SkSL Hex test with constants that fit in 16 bits. 2021-02-04 17:15:08 +00:00
Hex.metal Re-enable SkSL Hex test with constants that fit in 16 bits. 2021-02-04 17:15:08 +00:00
HexUnsigned.asm.frag Migrate more SkSL tests to run in dm. 2021-02-03 23:45:15 +00:00
HexUnsigned.glsl Migrate more SkSL tests to run in dm. 2021-02-03 23:45:15 +00:00
HexUnsigned.metal Migrate more SkSL tests to run in dm. 2021-02-03 23:45:15 +00:00
InstanceID.asm.vert Migrate SkSL test inputs to the resources/ directory. 2021-01-22 18:57:29 +00:00
InstanceID.glsl Migrate SkSL test inputs to the resources/ directory. 2021-01-22 18:57:29 +00:00
InstanceID.metal Migrate SkSL test inputs to the resources/ directory. 2021-01-22 18:57:29 +00:00
InterfaceBlockAnonymous.asm.frag Migrate SkSL test inputs to the resources/ directory. 2021-01-22 18:57:29 +00:00
InterfaceBlockAnonymous.glsl Migrate SkSL test inputs to the resources/ directory. 2021-01-22 18:57:29 +00:00
InterfaceBlockAnonymous.metal Migrate SkSL test inputs to the resources/ directory. 2021-01-22 18:57:29 +00:00
InterfaceBlockArray.asm.frag Migrate SkSL test inputs to the resources/ directory. 2021-01-22 18:57:29 +00:00
InterfaceBlockArray.glsl Migrate SkSL test inputs to the resources/ directory. 2021-01-22 18:57:29 +00:00
InterfaceBlockArray.metal Migrate SkSL test inputs to the resources/ directory. 2021-01-22 18:57:29 +00:00
InterfaceBlockNamed.asm.frag Migrate SkSL test inputs to the resources/ directory. 2021-01-22 18:57:29 +00:00
InterfaceBlockNamed.glsl Migrate SkSL test inputs to the resources/ directory. 2021-01-22 18:57:29 +00:00
InterfaceBlockNamed.metal Migrate SkSL test inputs to the resources/ directory. 2021-01-22 18:57:29 +00:00
InterfaceBlockNamedArray.asm.frag Add default uniform binding value for Metal/SPIR-V. 2021-01-28 19:23:49 +00:00
InterfaceBlockNamedArray.glsl Add default uniform binding value for Metal/SPIR-V. 2021-01-28 19:23:49 +00:00
InterfaceBlockNamedArray.metal Reland "Improve support for arrays in Metal." 2021-02-04 17:33:28 +00:00
Matrices.asm.frag Revert "Add support for matrix == and != in Metal shaders." 2021-02-10 14:25:54 +00:00
Matrices.glsl Revert "Add support for matrix == and != in Metal shaders." 2021-02-10 14:25:54 +00:00
Matrices.metal Revert "Add support for matrix == and != in Metal shaders." 2021-02-10 14:25:54 +00:00
MatricesNonsquare.asm.frag Migrate matrix SkSL test to dm. 2021-02-03 20:42:57 +00:00
MatricesNonsquare.glsl Migrate matrix SkSL test to dm. 2021-02-03 20:42:57 +00:00
MatricesNonsquare.metal Migrate matrix SkSL test to dm. 2021-02-03 20:42:57 +00:00
MatrixEquality.asm.frag Add SkSL test for matrix equality/inequality operators. 2021-02-10 18:57:22 +00:00
MatrixEquality.glsl Add SkSL test for matrix equality/inequality operators. 2021-02-10 18:57:22 +00:00
MatrixEquality.metal Add SkSL test for matrix equality/inequality operators. 2021-02-10 18:57:22 +00:00
MultipleAssignments.asm.frag Migrate additional SkSL tests to run in dm. 2021-02-04 22:12:27 +00:00
MultipleAssignments.glsl Migrate additional SkSL tests to run in dm. 2021-02-04 22:12:27 +00:00
MultipleAssignments.metal Migrate additional SkSL tests to run in dm. 2021-02-04 22:12:27 +00:00
NegatedVectorLiteral.asm.frag Migrate additional SkSL tests to run in dm. 2021-02-04 22:12:27 +00:00
NegatedVectorLiteral.glsl Migrate additional SkSL tests to run in dm. 2021-02-04 22:12:27 +00:00
NegatedVectorLiteral.metal Migrate additional SkSL tests to run in dm. 2021-02-04 22:12:27 +00:00
NoFragCoordsPos.asm.vert Migrate SkSL test inputs to the resources/ directory. 2021-01-22 18:57:29 +00:00
NoFragCoordsPos.glsl Migrate SkSL test inputs to the resources/ directory. 2021-01-22 18:57:29 +00:00
NoFragCoordsPos.metal Migrate SkSL test inputs to the resources/ directory. 2021-01-22 18:57:29 +00:00
NoFragCoordsPosRT.asm.vert Reland "Add support for top-level uniforms in SPIR-V." 2021-01-29 16:12:03 +00:00
NoFragCoordsPosRT.glsl Migrate SkSL test inputs to the resources/ directory. 2021-01-22 18:57:29 +00:00
NoFragCoordsPosRT.metal Migrate SkSL test inputs to the resources/ directory. 2021-01-22 18:57:29 +00:00
NormalizationGeo.asm.geom Reland "Add support for top-level uniforms in SPIR-V." 2021-01-29 16:12:03 +00:00
NormalizationGeo.glsl Migrate SkSL test inputs to the resources/ directory. 2021-01-22 18:57:29 +00:00
NormalizationGeo.metal Add default uniform set value to SkSL Program settings. 2021-01-27 00:52:16 +00:00
NormalizationVert.asm.vert Reland "Add support for top-level uniforms in SPIR-V." 2021-01-29 16:12:03 +00:00
NormalizationVert.glsl Migrate SkSL test inputs to the resources/ directory. 2021-01-22 18:57:29 +00:00
NormalizationVert.metal Migrate SkSL test inputs to the resources/ directory. 2021-01-22 18:57:29 +00:00
NumberCasts.asm.frag Migrate additional SkSL tests to run in dm. 2021-02-04 22:12:27 +00:00
NumberCasts.glsl Migrate additional SkSL tests to run in dm. 2021-02-04 22:12:27 +00:00
NumberCasts.metal Migrate additional SkSL tests to run in dm. 2021-02-04 22:12:27 +00:00
NumberConversions.asm.frag Migrate SkSL test inputs to the resources/ directory. 2021-01-22 18:57:29 +00:00
NumberConversions.glsl Migrate SkSL test inputs to the resources/ directory. 2021-01-22 18:57:29 +00:00
NumberConversions.metal Migrate SkSL test inputs to the resources/ directory. 2021-01-22 18:57:29 +00:00
Offset.asm.frag Migrate SkSL test inputs to the resources/ directory. 2021-01-22 18:57:29 +00:00
Offset.glsl Emit top-level StructDefinition for every struct 2021-01-28 19:50:09 +00:00
Offset.metal Emit top-level StructDefinition for every struct 2021-01-28 19:50:09 +00:00
OperatorsES2.asm.frag Avoid comma usage in Operators test. 2021-02-02 14:34:24 +00:00
OperatorsES2.glsl Avoid comma usage in Operators test. 2021-02-02 14:34:24 +00:00
OperatorsES2.metal Avoid comma usage in Operators test. 2021-02-02 14:34:24 +00:00
OperatorsES3.asm.frag Eliminate left-side comma expressions without side effects. 2021-02-05 16:50:33 +00:00
OperatorsES3.glsl Eliminate left-side comma expressions without side effects. 2021-02-05 16:50:33 +00:00
OperatorsES3.metal Eliminate left-side comma expressions without side effects. 2021-02-05 16:50:33 +00:00
Ossfuzz26167.asm.frag Migrate SkSL test inputs to the resources/ directory. 2021-01-22 18:57:29 +00:00
Ossfuzz26167.glsl Migrate SkSL test inputs to the resources/ directory. 2021-01-22 18:57:29 +00:00
Ossfuzz26167.metal Migrate SkSL test inputs to the resources/ directory. 2021-01-22 18:57:29 +00:00
Ossfuzz27614.asm.frag Migrate SkSL test inputs to the resources/ directory. 2021-01-22 18:57:29 +00:00
Ossfuzz27614.glsl Migrate SkSL test inputs to the resources/ directory. 2021-01-22 18:57:29 +00:00
Ossfuzz27614.metal Migrate SkSL test inputs to the resources/ directory. 2021-01-22 18:57:29 +00:00
Ossfuzz28050.asm.frag Reject array constructors with the wrong number of elements. 2021-02-03 22:33:02 +00:00
Ossfuzz28050.glsl Reject array constructors with the wrong number of elements. 2021-02-03 22:33:02 +00:00
Ossfuzz28050.metal Reject array constructors with the wrong number of elements. 2021-02-03 22:33:02 +00:00
Ossfuzz28794.asm.frag Migrate SkSL test inputs to the resources/ directory. 2021-01-22 18:57:29 +00:00
Ossfuzz28794.glsl Migrate SkSL test inputs to the resources/ directory. 2021-01-22 18:57:29 +00:00
Ossfuzz28794.metal Migrate SkSL test inputs to the resources/ directory. 2021-01-22 18:57:29 +00:00
Ossfuzz28904.asm.frag Migrate SkSL test inputs to the resources/ directory. 2021-01-22 18:57:29 +00:00
Ossfuzz28904.glsl Migrate SkSL test inputs to the resources/ directory. 2021-01-22 18:57:29 +00:00
Ossfuzz28904.metal Migrate SkSL test inputs to the resources/ directory. 2021-01-22 18:57:29 +00:00
Ossfuzz29444.asm.frag Reject array constructors with the wrong number of elements. 2021-02-03 22:33:02 +00:00
Ossfuzz29444.glsl Reject array constructors with the wrong number of elements. 2021-02-03 22:33:02 +00:00
Ossfuzz29444.metal Reject array constructors with the wrong number of elements. 2021-02-03 22:33:02 +00:00
Ossfuzz29494.asm.frag Use unsigned values when constant-folding integer vectors 2021-02-01 21:44:28 +00:00
Ossfuzz29494.glsl Use unsigned values when constant-folding integer vectors 2021-02-01 21:44:28 +00:00
Ossfuzz29494.metal Use unsigned values when constant-folding integer vectors 2021-02-01 21:44:28 +00:00
OutParams.asm.frag Migrate additional SkSL tests to run in dm. 2021-02-04 22:12:27 +00:00
OutParams.glsl Migrate additional SkSL tests to run in dm. 2021-02-04 22:12:27 +00:00
OutParams.metal Migrate additional SkSL tests to run in dm. 2021-02-04 22:12:27 +00:00
OutParamsTricky.asm.frag Migrate convertSwizzle to Swizzle::Make. 2021-02-19 21:26:58 +00:00
OutParamsTricky.glsl Migrate convertSwizzle to Swizzle::Make. 2021-02-19 21:26:58 +00:00
OutParamsTricky.metal Migrate convertSwizzle to Swizzle::Make. 2021-02-19 21:26:58 +00:00
RectangleTexture.asm.frag Add default uniform set value to SkSL Program settings. 2021-01-27 00:52:16 +00:00
RectangleTexture.glsl Migrate SkSL test inputs to the resources/ directory. 2021-01-22 18:57:29 +00:00
RectangleTexture.metal Migrate SkSL test inputs to the resources/ directory. 2021-01-22 18:57:29 +00:00
ResizeMatrix.asm.frag Migrate even more SkSL tests to run in dm. 2021-02-05 16:04:43 +00:00
ResizeMatrix.glsl Migrate even more SkSL tests to run in dm. 2021-02-05 16:04:43 +00:00
ResizeMatrix.metal Migrate even more SkSL tests to run in dm. 2021-02-05 16:04:43 +00:00
ResizeMatrixNonsquare.asm.frag Migrate even more SkSL tests to run in dm. 2021-02-05 16:04:43 +00:00
ResizeMatrixNonsquare.glsl Migrate even more SkSL tests to run in dm. 2021-02-05 16:04:43 +00:00
ResizeMatrixNonsquare.metal Migrate even more SkSL tests to run in dm. 2021-02-05 16:04:43 +00:00
ReturnBadTypeFromMain.asm.frag Support half4 return values from main() in the SPIR-V code generator. 2021-01-27 02:46:03 +00:00
ReturnBadTypeFromMain.glsl Support half4 return values from main() in the SPIR-V code generator. 2021-01-27 02:46:03 +00:00
ReturnBadTypeFromMain.metal Support half4 return values from main() in the SPIR-V code generator. 2021-01-27 02:46:03 +00:00
ReturnColorFromMain.asm.frag Support half4 return values from main() in the SPIR-V code generator. 2021-01-27 02:46:03 +00:00
ReturnColorFromMain.glsl Support half4 return values from main() in the SPIR-V code generator. 2021-01-27 02:46:03 +00:00
ReturnColorFromMain.metal Support half4 return values from main() in the SPIR-V code generator. 2021-01-27 02:46:03 +00:00
SampleLocations.asm.vert Migrate SkSL test inputs to the resources/ directory. 2021-01-22 18:57:29 +00:00
SampleLocations.glsl Migrate SkSL test inputs to the resources/ directory. 2021-01-22 18:57:29 +00:00
SampleLocations.metal Migrate SkSL test inputs to the resources/ directory. 2021-01-22 18:57:29 +00:00
SampleMask.asm.frag Migrate SkSL test inputs to the resources/ directory. 2021-01-22 18:57:29 +00:00
SampleMask.glsl Migrate SkSL test inputs to the resources/ directory. 2021-01-22 18:57:29 +00:00
SampleMask.metal Migrate SkSL test inputs to the resources/ directory. 2021-01-22 18:57:29 +00:00
ScalarConversionConstructorsES2.asm.frag Migrate even more SkSL tests to run in dm. 2021-02-05 16:04:43 +00:00
ScalarConversionConstructorsES2.glsl Migrate even more SkSL tests to run in dm. 2021-02-05 16:04:43 +00:00
ScalarConversionConstructorsES2.metal Migrate even more SkSL tests to run in dm. 2021-02-05 16:04:43 +00:00
ScalarConversionConstructorsES3.asm.frag Migrate even more SkSL tests to run in dm. 2021-02-05 16:04:43 +00:00
ScalarConversionConstructorsES3.glsl Migrate even more SkSL tests to run in dm. 2021-02-05 16:04:43 +00:00
ScalarConversionConstructorsES3.metal Migrate even more SkSL tests to run in dm. 2021-02-05 16:04:43 +00:00
ScopedSymbol.asm.frag Migrate SkSL test inputs to the resources/ directory. 2021-01-22 18:57:29 +00:00
ScopedSymbol.glsl Migrate SkSL test inputs to the resources/ directory. 2021-01-22 18:57:29 +00:00
ScopedSymbol.metal Migrate SkSL test inputs to the resources/ directory. 2021-01-22 18:57:29 +00:00
StackingVectorCasts.asm.frag Migrate even more SkSL tests to run in dm. 2021-02-05 16:04:43 +00:00
StackingVectorCasts.glsl Migrate even more SkSL tests to run in dm. 2021-02-05 16:04:43 +00:00
StackingVectorCasts.metal Migrate even more SkSL tests to run in dm. 2021-02-05 16:04:43 +00:00
StaticIf.asm.frag Migrate even more SkSL tests to run in dm. 2021-02-05 16:04:43 +00:00
StaticIf.glsl Migrate even more SkSL tests to run in dm. 2021-02-05 16:04:43 +00:00
StaticIf.metal Migrate even more SkSL tests to run in dm. 2021-02-05 16:04:43 +00:00
StaticSwitch.asm.frag Migrate SkSL test inputs to the resources/ directory. 2021-01-22 18:57:29 +00:00
StaticSwitch.glsl Migrate SkSL test inputs to the resources/ directory. 2021-01-22 18:57:29 +00:00
StaticSwitch.metal Migrate SkSL test inputs to the resources/ directory. 2021-01-22 18:57:29 +00:00
StaticSwitchWithBreak.asm.frag Migrate SkSL test inputs to the resources/ directory. 2021-01-22 18:57:29 +00:00
StaticSwitchWithBreak.glsl Migrate SkSL test inputs to the resources/ directory. 2021-01-22 18:57:29 +00:00
StaticSwitchWithBreak.metal Migrate SkSL test inputs to the resources/ directory. 2021-01-22 18:57:29 +00:00
StaticSwitchWithBreakInsideBlock.asm.frag Migrate SkSL test inputs to the resources/ directory. 2021-01-22 18:57:29 +00:00
StaticSwitchWithBreakInsideBlock.glsl Migrate SkSL test inputs to the resources/ directory. 2021-01-22 18:57:29 +00:00
StaticSwitchWithBreakInsideBlock.metal Migrate SkSL test inputs to the resources/ directory. 2021-01-22 18:57:29 +00:00
StaticSwitchWithConditionalBreak.asm.frag Migrate SkSL test inputs to the resources/ directory. 2021-01-22 18:57:29 +00:00
StaticSwitchWithConditionalBreak.glsl Migrate SkSL test inputs to the resources/ directory. 2021-01-22 18:57:29 +00:00
StaticSwitchWithConditionalBreak.metal Migrate SkSL test inputs to the resources/ directory. 2021-01-22 18:57:29 +00:00
StaticSwitchWithConditionalBreakInsideBlock.asm.frag Migrate SkSL test inputs to the resources/ directory. 2021-01-22 18:57:29 +00:00
StaticSwitchWithConditionalBreakInsideBlock.glsl Migrate SkSL test inputs to the resources/ directory. 2021-01-22 18:57:29 +00:00
StaticSwitchWithConditionalBreakInsideBlock.metal Migrate SkSL test inputs to the resources/ directory. 2021-01-22 18:57:29 +00:00
StaticSwitchWithContinue.asm.frag Fix switch optimization pass. 2021-02-23 15:38:24 +00:00
StaticSwitchWithContinue.glsl Fix switch optimization pass. 2021-02-23 15:38:24 +00:00
StaticSwitchWithContinue.metal Fix switch optimization pass. 2021-02-23 15:38:24 +00:00
StaticSwitchWithFallthroughA.asm.frag Migrate SkSL test inputs to the resources/ directory. 2021-01-22 18:57:29 +00:00
StaticSwitchWithFallthroughA.glsl Migrate SkSL test inputs to the resources/ directory. 2021-01-22 18:57:29 +00:00
StaticSwitchWithFallthroughA.metal Migrate SkSL test inputs to the resources/ directory. 2021-01-22 18:57:29 +00:00
StaticSwitchWithFallthroughB.asm.frag Migrate SkSL test inputs to the resources/ directory. 2021-01-22 18:57:29 +00:00
StaticSwitchWithFallthroughB.glsl Migrate SkSL test inputs to the resources/ directory. 2021-01-22 18:57:29 +00:00
StaticSwitchWithFallthroughB.metal Migrate SkSL test inputs to the resources/ directory. 2021-01-22 18:57:29 +00:00
StaticSwitchWithStaticConditionalBreak.asm.frag Migrate SkSL test inputs to the resources/ directory. 2021-01-22 18:57:29 +00:00
StaticSwitchWithStaticConditionalBreak.glsl Migrate SkSL test inputs to the resources/ directory. 2021-01-22 18:57:29 +00:00
StaticSwitchWithStaticConditionalBreak.metal Migrate SkSL test inputs to the resources/ directory. 2021-01-22 18:57:29 +00:00
StaticSwitchWithStaticConditionalBreakInsideBlock.asm.frag Migrate SkSL test inputs to the resources/ directory. 2021-01-22 18:57:29 +00:00
StaticSwitchWithStaticConditionalBreakInsideBlock.glsl Migrate SkSL test inputs to the resources/ directory. 2021-01-22 18:57:29 +00:00
StaticSwitchWithStaticConditionalBreakInsideBlock.metal Migrate SkSL test inputs to the resources/ directory. 2021-01-22 18:57:29 +00:00
StructMaxDepth.asm.frag Migrate SkSL test inputs to the resources/ directory. 2021-01-22 18:57:29 +00:00
StructMaxDepth.glsl Support structs in runtime effects 2021-02-11 21:09:15 +00:00
StructMaxDepth.metal Reland "Improve support for arrays in Metal." 2021-02-04 17:33:28 +00:00
Structs.asm.frag Migrate SkSL test inputs to the resources/ directory. 2021-01-22 18:57:29 +00:00
Structs.glsl Support structs in runtime effects 2021-02-11 21:09:15 +00:00
Structs.metal Reland "Improve support for arrays in Metal." 2021-02-04 17:33:28 +00:00
StructsInFunctions.asm.frag Reland "Add support for top-level uniforms in SPIR-V." 2021-01-29 16:12:03 +00:00
StructsInFunctions.glsl Add SkSL test for functions that operate on structs 2021-01-28 17:01:59 +00:00
StructsInFunctions.metal Add SkSL test for functions that operate on structs 2021-01-28 17:01:59 +00:00
Switch.asm.frag Migrate SkSL test inputs to the resources/ directory. 2021-01-22 18:57:29 +00:00
Switch.glsl Migrate SkSL test inputs to the resources/ directory. 2021-01-22 18:57:29 +00:00
Switch.metal Migrate SkSL test inputs to the resources/ directory. 2021-01-22 18:57:29 +00:00
SwitchContainingDeadCode.asm.frag Migrate SkSL test inputs to the resources/ directory. 2021-01-22 18:57:29 +00:00
SwitchContainingDeadCode.glsl Migrate SkSL test inputs to the resources/ directory. 2021-01-22 18:57:29 +00:00
SwitchContainingDeadCode.metal Migrate SkSL test inputs to the resources/ directory. 2021-01-22 18:57:29 +00:00
SwitchWithFallthrough.asm.frag Migrate SkSL test inputs to the resources/ directory. 2021-01-22 18:57:29 +00:00
SwitchWithFallthrough.glsl Migrate SkSL test inputs to the resources/ directory. 2021-01-22 18:57:29 +00:00
SwitchWithFallthrough.metal Migrate SkSL test inputs to the resources/ directory. 2021-01-22 18:57:29 +00:00
SwizzleBoolConstants.asm.frag Migrate even more SkSL tests to run in dm. 2021-02-05 16:04:43 +00:00
SwizzleBoolConstants.glsl Migrate even more SkSL tests to run in dm. 2021-02-05 16:04:43 +00:00
SwizzleBoolConstants.metal Migrate even more SkSL tests to run in dm. 2021-02-05 16:04:43 +00:00
SwizzleByConstantIndex.asm.frag Migrate some SkSL swizzle tests to dm. 2021-02-08 16:16:28 +00:00
SwizzleByConstantIndex.glsl Migrate some SkSL swizzle tests to dm. 2021-02-08 16:16:28 +00:00
SwizzleByConstantIndex.metal Migrate some SkSL swizzle tests to dm. 2021-02-08 16:16:28 +00:00
SwizzleByIndex.asm.frag Migrate some SkSL swizzle tests to dm. 2021-02-08 16:16:28 +00:00
SwizzleByIndex.glsl Migrate some SkSL swizzle tests to dm. 2021-02-08 16:16:28 +00:00
SwizzleByIndex.metal Migrate some SkSL swizzle tests to dm. 2021-02-08 16:16:28 +00:00
SwizzleConstants.asm.frag Reduce self-assignment expressions (x = x) into just x. 2021-02-10 20:00:05 +00:00
SwizzleConstants.glsl Reduce self-assignment expressions (x = x) into just x. 2021-02-10 20:00:05 +00:00
SwizzleConstants.metal Reduce self-assignment expressions (x = x) into just x. 2021-02-10 20:00:05 +00:00
SwizzleLTRB.asm.frag Migrate some SkSL swizzle tests to dm. 2021-02-08 16:16:28 +00:00
SwizzleLTRB.glsl Migrate some SkSL swizzle tests to dm. 2021-02-08 16:16:28 +00:00
SwizzleLTRB.metal Migrate some SkSL swizzle tests to dm. 2021-02-08 16:16:28 +00:00
SwizzleOpt.asm.frag Migrate convertSwizzle to Swizzle::Make. 2021-02-19 21:26:58 +00:00
SwizzleOpt.glsl Migrate convertSwizzle to Swizzle::Make. 2021-02-19 21:26:58 +00:00
SwizzleOpt.metal Migrate convertSwizzle to Swizzle::Make. 2021-02-19 21:26:58 +00:00
SwizzleScalar.asm.frag Migrate some SkSL swizzle tests to dm. 2021-02-08 16:16:28 +00:00
SwizzleScalar.glsl Migrate some SkSL swizzle tests to dm. 2021-02-08 16:16:28 +00:00
SwizzleScalar.metal Migrate some SkSL swizzle tests to dm. 2021-02-08 16:16:28 +00:00
TernaryAsLValueEntirelyFoldable.asm.frag Migrate the last SkSL tests in shared/ to dm. 2021-02-08 21:37:48 +00:00
TernaryAsLValueEntirelyFoldable.glsl Migrate the last SkSL tests in shared/ to dm. 2021-02-08 21:37:48 +00:00
TernaryAsLValueEntirelyFoldable.metal Migrate the last SkSL tests in shared/ to dm. 2021-02-08 21:37:48 +00:00
TernaryAsLValueFoldableTest.asm.frag Migrate the last SkSL tests in shared/ to dm. 2021-02-08 21:37:48 +00:00
TernaryAsLValueFoldableTest.glsl Migrate the last SkSL tests in shared/ to dm. 2021-02-08 21:37:48 +00:00
TernaryAsLValueFoldableTest.metal Migrate the last SkSL tests in shared/ to dm. 2021-02-08 21:37:48 +00:00
Texture1D.asm.frag Add default uniform set value to SkSL Program settings. 2021-01-27 00:52:16 +00:00
Texture1D.glsl Migrate SkSL test inputs to the resources/ directory. 2021-01-22 18:57:29 +00:00
Texture1D.metal Migrate SkSL test inputs to the resources/ directory. 2021-01-22 18:57:29 +00:00
Texture2D.asm.frag Add default uniform set value to SkSL Program settings. 2021-01-27 00:52:16 +00:00
Texture2D.glsl Migrate SkSL test inputs to the resources/ directory. 2021-01-22 18:57:29 +00:00
Texture2D.metal Migrate SkSL test inputs to the resources/ directory. 2021-01-22 18:57:29 +00:00
TextureSharpen.asm.frag Add default uniform set value to SkSL Program settings. 2021-01-27 00:52:16 +00:00
TextureSharpen.glsl Migrate SkSL test inputs to the resources/ directory. 2021-01-22 18:57:29 +00:00
TextureSharpen.metal Migrate SkSL test inputs to the resources/ directory. 2021-01-22 18:57:29 +00:00
UnaryPositiveNegative.asm.frag Reduce self-assignment expressions (x = x) into just x. 2021-02-10 20:00:05 +00:00
UnaryPositiveNegative.glsl Reduce self-assignment expressions (x = x) into just x. 2021-02-10 20:00:05 +00:00
UnaryPositiveNegative.metal Reduce self-assignment expressions (x = x) into just x. 2021-02-10 20:00:05 +00:00
UniformArray.asm.frag Reland "Add support for top-level uniforms in SPIR-V." 2021-01-29 16:12:03 +00:00
UniformArray.glsl Add default uniform set value to SkSL Program settings. 2021-01-27 00:52:16 +00:00
UniformArray.metal Reland "Improve support for arrays in Metal." 2021-02-04 17:33:28 +00:00
UniformBuffers.asm.frag Add default uniform binding value for Metal/SPIR-V. 2021-01-28 19:23:49 +00:00
UniformBuffers.glsl Add default uniform binding value for Metal/SPIR-V. 2021-01-28 19:23:49 +00:00
UniformBuffers.metal Reland "Improve support for arrays in Metal." 2021-02-04 17:33:28 +00:00
Uniforms.asm.frag Reland "Add support for top-level uniforms in SPIR-V." 2021-01-29 16:12:03 +00:00
Uniforms.glsl Add default uniform binding value for Metal/SPIR-V. 2021-01-28 19:23:49 +00:00
Uniforms.metal Add default uniform binding value for Metal/SPIR-V. 2021-01-28 19:23:49 +00:00
UnusedVariables.asm.frag Migrate the last SkSL tests in shared/ to dm. 2021-02-08 21:37:48 +00:00
UnusedVariables.glsl Migrate the last SkSL tests in shared/ to dm. 2021-02-08 21:37:48 +00:00
UnusedVariables.metal Migrate the last SkSL tests in shared/ to dm. 2021-02-08 21:37:48 +00:00
VectorConstructors.asm.frag Migrate the last SkSL tests in shared/ to dm. 2021-02-08 21:37:48 +00:00
VectorConstructors.glsl Migrate the last SkSL tests in shared/ to dm. 2021-02-08 21:37:48 +00:00
VectorConstructors.metal Migrate the last SkSL tests in shared/ to dm. 2021-02-08 21:37:48 +00:00
VertexEarlyReturn.asm.vert Reland "Add support for top-level uniforms in SPIR-V." 2021-01-29 16:12:03 +00:00
VertexEarlyReturn.glsl Migrate SkSL test inputs to the resources/ directory. 2021-01-22 18:57:29 +00:00
VertexEarlyReturn.metal Migrate SkSL test inputs to the resources/ directory. 2021-01-22 18:57:29 +00:00
VertexID.asm.vert Migrate SkSL test inputs to the resources/ directory. 2021-01-22 18:57:29 +00:00
VertexID.glsl Migrate SkSL test inputs to the resources/ directory. 2021-01-22 18:57:29 +00:00
VertexID.metal Migrate SkSL test inputs to the resources/ directory. 2021-01-22 18:57:29 +00:00
WhileLoopControlFlow.asm.frag Support half4 return values from main() in the SPIR-V code generator. 2021-01-27 02:46:03 +00:00
WhileLoopControlFlow.glsl Support half4 return values from main() in the SPIR-V code generator. 2021-01-27 02:46:03 +00:00
WhileLoopControlFlow.metal Add unit test for control statements in while loops. 2021-01-26 17:07:36 +00:00
Width.asm.frag Migrate SkSL test inputs to the resources/ directory. 2021-01-22 18:57:29 +00:00
Width.glsl Migrate SkSL test inputs to the resources/ directory. 2021-01-22 18:57:29 +00:00
Width.metal Migrate SkSL test inputs to the resources/ directory. 2021-01-22 18:57:29 +00:00