skia2/tests/sksl/shared
John Stiles f10eff363b Fix misdetection of dead global variables.
A global variable should be considered "dead" if it's never written and
never read. The previous code checked if it was never written OR never
read, which is not the same.

This would generate GLSL/Metal that didn't compile. In SPIR-V, it would
SkASSERT, then crash, during codegen. The fuzzer was able to detect the
SPIR-V issue, but it was wrong in all three cases.

Change-Id: Id59a2499eb5baa3839b93826bfbc24191bfd490b
Bug: oss-fuzz:32005
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/385280
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>
2021-03-16 16:02:03 +00:00
..
ArrayConstructors.asm.frag Revert "Refactored SPIR-V RelaxedPrecision handling" 2021-03-15 21:24:47 +00:00
ArrayConstructors.glsl Performance experiment: disable control-flow analysis. 2021-03-08 19:41:19 +00:00
ArrayConstructors.metal Revert "Only include header once in combined MSL shader." 2021-03-16 14:44:25 +00:00
ArrayIndexTypes.asm.frag Revert "Refactored SPIR-V RelaxedPrecision handling" 2021-03-15 21:24:47 +00:00
ArrayIndexTypes.glsl Performance experiment: disable control-flow analysis. 2021-03-08 19:41:19 +00:00
ArrayIndexTypes.metal Revert "Only include header once in combined MSL shader." 2021-03-16 14:44:25 +00:00
ArrayTypes.asm.frag Revert "Refactored SPIR-V RelaxedPrecision handling" 2021-03-15 21:24:47 +00:00
ArrayTypes.glsl Reland "Improve support for arrays in Metal." 2021-02-04 17:33:28 +00:00
ArrayTypes.metal Revert "Only include header once in combined MSL shader." 2021-03-16 14:44:25 +00:00
Assignment.asm.frag Fix misdetection of dead global variables. 2021-03-16 16:02:03 +00:00
Assignment.glsl Fix misdetection of dead global variables. 2021-03-16 16:02:03 +00:00
Assignment.metal Fix misdetection of dead global variables. 2021-03-16 16:02:03 +00:00
Caps.asm.frag Revert "Refactored SPIR-V RelaxedPrecision handling" 2021-03-15 21:24:47 +00:00
Caps.glsl Performance experiment: disable control-flow analysis. 2021-03-08 19:41:19 +00:00
Caps.metal Revert "Only include header once in combined MSL shader." 2021-03-16 14:44:25 +00:00
CastsRoundTowardZero.asm.frag Revert "Refactored SPIR-V RelaxedPrecision handling" 2021-03-15 21:24:47 +00:00
CastsRoundTowardZero.glsl Performance experiment: disable control-flow analysis. 2021-03-08 19:41:19 +00:00
CastsRoundTowardZero.metal Revert "Only include header once in combined MSL shader." 2021-03-16 14:44:25 +00:00
Clockwise.asm.frag Revert "Refactored SPIR-V RelaxedPrecision handling" 2021-03-15 21:24:47 +00:00
Clockwise.glsl Migrate SkSL test inputs to the resources/ directory. 2021-01-22 18:57:29 +00:00
Clockwise.metal Revert "Only include header once in combined MSL shader." 2021-03-16 14:44:25 +00:00
CommaMixedTypes.asm.frag Revert "Refactored SPIR-V RelaxedPrecision handling" 2021-03-15 21:24:47 +00:00
CommaMixedTypes.glsl Eliminate left-side comma expressions without side effects. 2021-02-05 16:50:33 +00:00
CommaMixedTypes.metal Revert "Only include header once in combined MSL shader." 2021-03-16 14:44:25 +00:00
CommaSideEffects.asm.frag Revert "Refactored SPIR-V RelaxedPrecision handling" 2021-03-15 21:24:47 +00:00
CommaSideEffects.glsl Remove extraneous line-breaks in generated GLSL/Metal code. 2021-03-12 18:39:57 +00:00
CommaSideEffects.metal Revert "Only include header once in combined MSL shader." 2021-03-16 14:44:25 +00:00
ComplexDelete.asm.frag Revert "Refactored SPIR-V RelaxedPrecision handling" 2021-03-15 21:24:47 +00:00
ComplexDelete.glsl Revert "Disable control-flow analysis in SkSL. (Performance experiment)" 2021-03-04 15:20:09 +00:00
ComplexDelete.metal Revert "Only include header once in combined MSL shader." 2021-03-16 14:44:25 +00:00
ConstantIf.asm.frag Revert "Refactored SPIR-V RelaxedPrecision handling" 2021-03-15 21:24:47 +00:00
ConstantIf.glsl Remove extraneous line-breaks in generated GLSL/Metal code. 2021-03-12 18:39:57 +00:00
ConstantIf.metal Revert "Only include header once in combined MSL shader." 2021-03-16 14:44:25 +00:00
ConstArray.asm.frag Revert "Refactored SPIR-V RelaxedPrecision handling" 2021-03-15 21:24:47 +00:00
ConstArray.glsl Migrate SkSL test inputs to the resources/ directory. 2021-01-22 18:57:29 +00:00
ConstArray.metal Revert "Only include header once in combined MSL shader." 2021-03-16 14:44:25 +00:00
ConstVariableComparison.asm.frag Revert "Refactored SPIR-V RelaxedPrecision handling" 2021-03-15 21:24:47 +00:00
ConstVariableComparison.glsl Performance experiment: disable control-flow analysis. 2021-03-08 19:41:19 +00:00
ConstVariableComparison.metal Revert "Only include header once in combined MSL shader." 2021-03-16 14:44:25 +00:00
Control.asm.frag Revert "Refactored SPIR-V RelaxedPrecision handling" 2021-03-15 21:24:47 +00:00
Control.glsl Migrate SkSL test inputs to the resources/ directory. 2021-01-22 18:57:29 +00:00
Control.metal Revert "Only include header once in combined MSL shader." 2021-03-16 14:44:25 +00:00
DeadDoWhileLoop.asm.frag Revert "Refactored SPIR-V RelaxedPrecision handling" 2021-03-15 21:24:47 +00:00
DeadDoWhileLoop.glsl Migrate SkSL test inputs to the resources/ directory. 2021-01-22 18:57:29 +00:00
DeadDoWhileLoop.metal Revert "Only include header once in combined MSL shader." 2021-03-16 14:44:25 +00:00
DeadIfStatement.asm.frag Revert "Refactored SPIR-V RelaxedPrecision handling" 2021-03-15 21:24:47 +00:00
DeadIfStatement.glsl Performance experiment: disable control-flow analysis. 2021-03-08 19:41:19 +00:00
DeadIfStatement.metal Revert "Only include header once in combined MSL shader." 2021-03-16 14:44:25 +00:00
DeadLoopVariable.asm.frag Revert "Refactored SPIR-V RelaxedPrecision handling" 2021-03-15 21:24:47 +00:00
DeadLoopVariable.glsl Performance experiment: disable control-flow analysis. 2021-03-08 19:41:19 +00:00
DeadLoopVariable.metal Revert "Only include header once in combined MSL shader." 2021-03-16 14:44:25 +00:00
DeadStripFunctions.asm.frag Revert "Refactored SPIR-V RelaxedPrecision handling" 2021-03-15 21:24:47 +00:00
DeadStripFunctions.glsl Remove extraneous line-breaks in generated GLSL/Metal code. 2021-03-12 18:39:57 +00:00
DeadStripFunctions.metal Revert "Only include header once in combined MSL shader." 2021-03-16 14:44:25 +00:00
DependentInitializers.asm.frag Revert "Refactored SPIR-V RelaxedPrecision handling" 2021-03-15 21:24:47 +00:00
DependentInitializers.glsl Remove extraneous line-breaks in generated GLSL/Metal code. 2021-03-12 18:39:57 +00:00
DependentInitializers.metal Revert "Only include header once in combined MSL shader." 2021-03-16 14:44:25 +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 Revert "Refactored SPIR-V RelaxedPrecision handling" 2021-03-15 21:24:47 +00:00
DerivativesUnused.glsl Migrate SkSL test inputs to the resources/ directory. 2021-01-22 18:57:29 +00:00
DerivativesUnused.metal Revert "Only include header once in combined MSL shader." 2021-03-16 14:44:25 +00:00
Discard.asm.frag Revert "Refactored SPIR-V RelaxedPrecision handling" 2021-03-15 21:24:47 +00:00
Discard.glsl Remove extraneous line-breaks in generated GLSL/Metal code. 2021-03-12 18:39:57 +00:00
Discard.metal Revert "Only include header once in combined MSL shader." 2021-03-16 14:44:25 +00:00
DoWhileControlFlow.asm.frag Revert "Refactored SPIR-V RelaxedPrecision handling" 2021-03-15 21:24:47 +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 Revert "Only include header once in combined MSL shader." 2021-03-16 14:44:25 +00:00
EmptyBlocksES2.asm.frag Revert "Refactored SPIR-V RelaxedPrecision handling" 2021-03-15 21:24:47 +00:00
EmptyBlocksES2.glsl Disallow unscoped for blocks which declare a variable. 2021-03-04 17:04:40 +00:00
EmptyBlocksES2.metal Revert "Only include header once in combined MSL shader." 2021-03-16 14:44:25 +00:00
EmptyBlocksES3.asm.frag Revert "Refactored SPIR-V RelaxedPrecision handling" 2021-03-15 21:24:47 +00:00
EmptyBlocksES3.glsl Disallow unscoped for blocks which declare a variable. 2021-03-04 17:04:40 +00:00
EmptyBlocksES3.metal Revert "Only include header once in combined MSL shader." 2021-03-16 14:44:25 +00:00
Enum.asm.frag Performance experiment: disable control-flow analysis. 2021-03-08 19:41:19 +00:00
Enum.glsl Performance experiment: disable control-flow analysis. 2021-03-08 19:41:19 +00:00
Enum.metal Performance experiment: disable control-flow analysis. 2021-03-08 19:41:19 +00:00
ForLoopControlFlow.asm.frag Revert "Refactored SPIR-V RelaxedPrecision handling" 2021-03-15 21:24:47 +00:00
ForLoopControlFlow.glsl Reland "Add SkSL for-loop control flow test to dm." 2021-01-27 15:46:39 +00:00
ForLoopControlFlow.metal Revert "Only include header once in combined MSL shader." 2021-03-16 14:44:25 +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 Revert "Only include header once in combined MSL shader." 2021-03-16 14:44:25 +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 Revert "Only include header once in combined MSL shader." 2021-03-16 14:44:25 +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 Revert "Only include header once in combined MSL shader." 2021-03-16 14:44:25 +00:00
FunctionArgTypeMatch.asm.frag Revert "Refactored SPIR-V RelaxedPrecision handling" 2021-03-15 21:24:47 +00:00
FunctionArgTypeMatch.glsl Remove extraneous line-breaks in generated GLSL/Metal code. 2021-03-12 18:39:57 +00:00
FunctionArgTypeMatch.metal Revert "Only include header once in combined MSL shader." 2021-03-16 14:44:25 +00:00
FunctionPrototype.asm.frag Revert "Refactored SPIR-V RelaxedPrecision handling" 2021-03-15 21:24:47 +00:00
FunctionPrototype.glsl Remove extraneous line-breaks in generated GLSL/Metal code. 2021-03-12 18:39:57 +00:00
FunctionPrototype.metal Revert "Only include header once in combined MSL shader." 2021-03-16 14:44:25 +00:00
FunctionReturnTypeMatch.asm.frag Revert "Refactored SPIR-V RelaxedPrecision handling" 2021-03-15 21:24:47 +00:00
FunctionReturnTypeMatch.glsl Remove extraneous line-breaks in generated GLSL/Metal code. 2021-03-12 18:39:57 +00:00
FunctionReturnTypeMatch.metal Revert "Only include header once in combined MSL shader." 2021-03-16 14:44:25 +00:00
Functions.asm.frag Revert "Refactored SPIR-V RelaxedPrecision handling" 2021-03-15 21:24:47 +00:00
Functions.glsl Migrate more SkSL tests to run in dm. 2021-02-03 23:45:15 +00:00
Functions.metal Revert "Only include header once in combined MSL shader." 2021-03-16 14:44:25 +00:00
GaussianBlur.asm.frag Revert "Inline functions of the form 'return (expr)' only." 2021-03-15 22:08:48 +00:00
GaussianBlur.glsl Revert "Inline functions of the form 'return (expr)' only." 2021-03-15 22:08:48 +00:00
GaussianBlur.metal Revert "Only include header once in combined MSL shader." 2021-03-16 14:44:25 +00:00
GeometricIntrinsics.asm.frag Revert "Inline functions of the form 'return (expr)' only." 2021-03-15 22:08:48 +00:00
GeometricIntrinsics.glsl Revert "Inline functions of the form 'return (expr)' only." 2021-03-15 22:08:48 +00:00
GeometricIntrinsics.metal Revert "Only include header once in combined MSL shader." 2021-03-16 14:44:25 +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 Revert "Inline functions of the form 'return (expr)' only." 2021-03-15 22:08:48 +00:00
GeometryNoGSInvocations.glsl Revert "Inline functions of the form 'return (expr)' only." 2021-03-15 22:08:48 +00:00
GeometryNoGSInvocations.metal Migrate SkSL test inputs to the resources/ directory. 2021-01-22 18:57:29 +00:00
GeometryNoGSInvocationsReorder.asm.geom Revert "Inline functions of the form 'return (expr)' only." 2021-03-15 22:08:48 +00:00
GeometryNoGSInvocationsReorder.glsl Revert "Inline functions of the form 'return (expr)' only." 2021-03-15 22:08:48 +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 Revert "Only include header once in combined MSL shader." 2021-03-16 14:44:25 +00:00
HelloWorld.asm.frag Revert "Refactored SPIR-V RelaxedPrecision handling" 2021-03-15 21:24:47 +00:00
HelloWorld.glsl Migrate more SkSL tests to run in dm. 2021-02-03 23:45:15 +00:00
HelloWorld.metal Revert "Only include header once in combined MSL shader." 2021-03-16 14:44:25 +00:00
Hex.asm.frag Revert "Refactored SPIR-V RelaxedPrecision handling" 2021-03-15 21:24:47 +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 Revert "Only include header once in combined MSL shader." 2021-03-16 14:44:25 +00:00
HexUnsigned.asm.frag Revert "Refactored SPIR-V RelaxedPrecision handling" 2021-03-15 21:24:47 +00:00
HexUnsigned.glsl Migrate more SkSL tests to run in dm. 2021-02-03 23:45:15 +00:00
HexUnsigned.metal Revert "Only include header once in combined MSL shader." 2021-03-16 14:44:25 +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 Revert "Only include header once in combined MSL shader." 2021-03-16 14:44:25 +00:00
InterfaceBlockNamed.asm.frag Revert "Refactored SPIR-V RelaxedPrecision handling" 2021-03-15 21:24:47 +00:00
InterfaceBlockNamed.glsl Migrate SkSL test inputs to the resources/ directory. 2021-01-22 18:57:29 +00:00
InterfaceBlockNamed.metal Revert "Only include header once in combined MSL shader." 2021-03-16 14:44:25 +00:00
InterfaceBlockNamedArray.asm.frag Revert "Refactored SPIR-V RelaxedPrecision handling" 2021-03-15 21:24:47 +00:00
InterfaceBlockNamedArray.glsl Add default uniform binding value for Metal/SPIR-V. 2021-01-28 19:23:49 +00:00
InterfaceBlockNamedArray.metal Revert "Only include header once in combined MSL shader." 2021-03-16 14:44:25 +00:00
Matrices.asm.frag Revert "Inline functions of the form 'return (expr)' only." 2021-03-15 22:08:48 +00:00
Matrices.glsl Revert "Inline functions of the form 'return (expr)' only." 2021-03-15 22:08:48 +00:00
Matrices.metal Revert "Only include header once in combined MSL shader." 2021-03-16 14:44:25 +00:00
MatricesNonsquare.asm.frag Migrate matrix SkSL test to dm. 2021-02-03 20:42:57 +00:00
MatricesNonsquare.glsl Revert "Inline functions of the form 'return (expr)' only." 2021-03-15 22:08:48 +00:00
MatricesNonsquare.metal Revert "Only include header once in combined MSL shader." 2021-03-16 14:44:25 +00:00
MatrixEquality.asm.frag Revert "Inline functions of the form 'return (expr)' only." 2021-03-15 22:08:48 +00:00
MatrixEquality.glsl Revert "Inline functions of the form 'return (expr)' only." 2021-03-15 22:08:48 +00:00
MatrixEquality.metal Revert "Only include header once in combined MSL shader." 2021-03-16 14:44:25 +00:00
MultipleAssignments.asm.frag Revert "Refactored SPIR-V RelaxedPrecision handling" 2021-03-15 21:24:47 +00:00
MultipleAssignments.glsl Remove extraneous line-breaks in generated GLSL/Metal code. 2021-03-12 18:39:57 +00:00
MultipleAssignments.metal Revert "Only include header once in combined MSL shader." 2021-03-16 14:44:25 +00:00
NegatedVectorLiteral.asm.frag Revert "Inline functions of the form 'return (expr)' only." 2021-03-15 22:08:48 +00:00
NegatedVectorLiteral.glsl Revert "Inline functions of the form 'return (expr)' only." 2021-03-15 22:08:48 +00:00
NegatedVectorLiteral.metal Revert "Only include header once in combined MSL shader." 2021-03-16 14:44:25 +00:00
NoFragCoordsPos.asm.vert Change sksl tests to avoid SPIR-V validation errors 2021-03-16 13:39:53 +00:00
NoFragCoordsPos.glsl Change sksl tests to avoid SPIR-V validation errors 2021-03-16 13:39:53 +00:00
NoFragCoordsPos.metal Revert "Only include header once in combined MSL shader." 2021-03-16 14:44:25 +00:00
NoFragCoordsPosRT.asm.vert Change sksl tests to avoid SPIR-V validation errors 2021-03-16 13:39:53 +00:00
NoFragCoordsPosRT.glsl Change sksl tests to avoid SPIR-V validation errors 2021-03-16 13:39:53 +00:00
NoFragCoordsPosRT.metal Revert "Only include header once in combined MSL shader." 2021-03-16 14:44:25 +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 Revert "Only include header once in combined MSL shader." 2021-03-16 14:44:25 +00:00
NumberCasts.asm.frag Revert "Refactored SPIR-V RelaxedPrecision handling" 2021-03-15 21:24:47 +00:00
NumberCasts.glsl Migrate additional SkSL tests to run in dm. 2021-02-04 22:12:27 +00:00
NumberCasts.metal Revert "Only include header once in combined MSL shader." 2021-03-16 14:44:25 +00:00
NumberConversions.asm.frag Revert "Refactored SPIR-V RelaxedPrecision handling" 2021-03-15 21:24:47 +00:00
NumberConversions.glsl Force global initializers to be constant expressions 2021-03-15 16:54:05 +00:00
NumberConversions.metal Revert "Only include header once in combined MSL shader." 2021-03-16 14:44:25 +00:00
Offset.asm.frag Revert "Refactored SPIR-V RelaxedPrecision handling" 2021-03-15 21:24:47 +00:00
Offset.glsl Emit top-level StructDefinition for every struct 2021-01-28 19:50:09 +00:00
Offset.metal Revert "Only include header once in combined MSL shader." 2021-03-16 14:44:25 +00:00
OperatorsES2.asm.frag Revert "Refactored SPIR-V RelaxedPrecision handling" 2021-03-15 21:24:47 +00:00
OperatorsES2.glsl Remove extraneous line-breaks in generated GLSL/Metal code. 2021-03-12 18:39:57 +00:00
OperatorsES2.metal Revert "Only include header once in combined MSL shader." 2021-03-16 14:44:25 +00:00
OperatorsES3.asm.frag Revert "Refactored SPIR-V RelaxedPrecision handling" 2021-03-15 21:24:47 +00:00
OperatorsES3.glsl Remove extraneous line-breaks in generated GLSL/Metal code. 2021-03-12 18:39:57 +00:00
OperatorsES3.metal Revert "Only include header once in combined MSL shader." 2021-03-16 14:44:25 +00:00
Ossfuzz26167.asm.frag Revert "Inline functions of the form 'return (expr)' only." 2021-03-15 22:08:48 +00:00
Ossfuzz26167.glsl Revert "Inline functions of the form 'return (expr)' only." 2021-03-15 22:08:48 +00:00
Ossfuzz26167.metal Revert "Only include header once in combined MSL shader." 2021-03-16 14:44:25 +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 Revert "Refactored SPIR-V RelaxedPrecision handling" 2021-03-15 21:24:47 +00:00
Ossfuzz28794.glsl Performance experiment: disable control-flow analysis. 2021-03-08 19:41:19 +00:00
Ossfuzz28794.metal Revert "Only include header once in combined MSL shader." 2021-03-16 14:44:25 +00:00
Ossfuzz28904.asm.frag Revert "Refactored SPIR-V RelaxedPrecision handling" 2021-03-15 21:24:47 +00:00
Ossfuzz28904.glsl Remove extraneous line-breaks in generated GLSL/Metal code. 2021-03-12 18:39:57 +00:00
Ossfuzz28904.metal Revert "Only include header once in combined MSL shader." 2021-03-16 14:44:25 +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 Revert "Refactored SPIR-V RelaxedPrecision handling" 2021-03-15 21:24:47 +00:00
Ossfuzz29494.glsl Remove extraneous line-breaks in generated GLSL/Metal code. 2021-03-12 18:39:57 +00:00
Ossfuzz29494.metal Revert "Only include header once in combined MSL shader." 2021-03-16 14:44:25 +00:00
OutParams.asm.frag Revert "Inline functions of the form 'return (expr)' only." 2021-03-15 22:08:48 +00:00
OutParams.glsl Revert "Inline functions of the form 'return (expr)' only." 2021-03-15 22:08:48 +00:00
OutParams.metal Revert "Only include header once in combined MSL shader." 2021-03-16 14:44:25 +00:00
OutParamsTricky.asm.frag Revert "Refactored SPIR-V RelaxedPrecision handling" 2021-03-15 21:24:47 +00:00
OutParamsTricky.glsl Migrate convertSwizzle to Swizzle::Make. 2021-02-19 21:26:58 +00:00
OutParamsTricky.metal Revert "Only include header once in combined MSL shader." 2021-03-16 14:44:25 +00:00
RectangleTexture.asm.frag Revert "Refactored SPIR-V RelaxedPrecision handling" 2021-03-15 21:24:47 +00:00
RectangleTexture.glsl Migrate SkSL test inputs to the resources/ directory. 2021-01-22 18:57:29 +00:00
RectangleTexture.metal Revert "Only include header once in combined MSL shader." 2021-03-16 14:44:25 +00:00
ResizeMatrix.asm.frag Revert "Refactored SPIR-V RelaxedPrecision handling" 2021-03-15 21:24:47 +00:00
ResizeMatrix.glsl Performance experiment: disable control-flow analysis. 2021-03-08 19:41:19 +00:00
ResizeMatrix.metal Revert "Only include header once in combined MSL shader." 2021-03-16 14:44:25 +00:00
ResizeMatrixNonsquare.asm.frag Migrate even more SkSL tests to run in dm. 2021-02-05 16:04:43 +00:00
ResizeMatrixNonsquare.glsl Performance experiment: disable control-flow analysis. 2021-03-08 19:41:19 +00:00
ResizeMatrixNonsquare.metal Revert "Only include header once in combined MSL shader." 2021-03-16 14:44:25 +00:00
ReturnBadTypeFromMain.asm.frag Revert "Refactored SPIR-V RelaxedPrecision handling" 2021-03-15 21:24:47 +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 Revert "Refactored SPIR-V RelaxedPrecision handling" 2021-03-15 21:24:47 +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 Revert "Only include header once in combined MSL shader." 2021-03-16 14:44:25 +00:00
ReturnsValueOnEveryPathES2.asm.frag Revert "Refactored SPIR-V RelaxedPrecision handling" 2021-03-15 21:24:47 +00:00
ReturnsValueOnEveryPathES2.glsl Remove extraneous line-breaks in generated GLSL/Metal code. 2021-03-12 18:39:57 +00:00
ReturnsValueOnEveryPathES2.metal Revert "Only include header once in combined MSL shader." 2021-03-16 14:44:25 +00:00
ReturnsValueOnEveryPathES3.asm.frag Revert "Refactored SPIR-V RelaxedPrecision handling" 2021-03-15 21:24:47 +00:00
ReturnsValueOnEveryPathES3.glsl Remove extraneous line-breaks in generated GLSL/Metal code. 2021-03-12 18:39:57 +00:00
ReturnsValueOnEveryPathES3.metal Revert "Only include header once in combined MSL shader." 2021-03-16 14:44:25 +00:00
SampleLocations.asm.vert Revert "Fixed a number of spots where we should have been using RelaxedPrecision" 2021-03-12 18:48:57 +00:00
SampleLocations.glsl Performance experiment: disable control-flow analysis. 2021-03-08 19:41:19 +00:00
SampleLocations.metal Revert "Only include header once in combined MSL shader." 2021-03-16 14:44:25 +00:00
SampleMask.asm.frag Revert "Refactored SPIR-V RelaxedPrecision handling" 2021-03-15 21:24:47 +00:00
SampleMask.glsl Migrate SkSL test inputs to the resources/ directory. 2021-01-22 18:57:29 +00:00
SampleMask.metal Revert "Only include header once in combined MSL shader." 2021-03-16 14:44:25 +00:00
ScalarConversionConstructorsES2.asm.frag Revert "Refactored SPIR-V RelaxedPrecision handling" 2021-03-15 21:24:47 +00:00
ScalarConversionConstructorsES2.glsl Migrate even more SkSL tests to run in dm. 2021-02-05 16:04:43 +00:00
ScalarConversionConstructorsES2.metal Revert "Only include header once in combined MSL shader." 2021-03-16 14:44:25 +00:00
ScalarConversionConstructorsES3.asm.frag Revert "Refactored SPIR-V RelaxedPrecision handling" 2021-03-15 21:24:47 +00:00
ScalarConversionConstructorsES3.glsl Migrate even more SkSL tests to run in dm. 2021-02-05 16:04:43 +00:00
ScalarConversionConstructorsES3.metal Revert "Only include header once in combined MSL shader." 2021-03-16 14:44:25 +00:00
ScopedSymbol.asm.frag Revert "Refactored SPIR-V RelaxedPrecision handling" 2021-03-15 21:24:47 +00:00
ScopedSymbol.glsl Performance experiment: disable control-flow analysis. 2021-03-08 19:41:19 +00:00
ScopedSymbol.metal Revert "Only include header once in combined MSL shader." 2021-03-16 14:44:25 +00:00
StackingVectorCasts.asm.frag Revert "Refactored SPIR-V RelaxedPrecision handling" 2021-03-15 21:24:47 +00:00
StackingVectorCasts.glsl Migrate even more SkSL tests to run in dm. 2021-02-05 16:04:43 +00:00
StackingVectorCasts.metal Revert "Only include header once in combined MSL shader." 2021-03-16 14:44:25 +00:00
StaticIf.asm.frag Revert "Refactored SPIR-V RelaxedPrecision handling" 2021-03-15 21:24:47 +00:00
StaticIf.glsl # Enter a description of the change. 2021-03-03 22:21:36 +00:00
StaticIf.metal Revert "Only include header once in combined MSL shader." 2021-03-16 14:44:25 +00:00
StaticSwitch.asm.frag Revert "Refactored SPIR-V RelaxedPrecision handling" 2021-03-15 21:24:47 +00:00
StaticSwitch.glsl Remove extraneous line-breaks in generated GLSL/Metal code. 2021-03-12 18:39:57 +00:00
StaticSwitch.metal Revert "Only include header once in combined MSL shader." 2021-03-16 14:44:25 +00:00
StaticSwitchWithBreak.asm.frag Revert "Refactored SPIR-V RelaxedPrecision handling" 2021-03-15 21:24:47 +00:00
StaticSwitchWithBreak.glsl Remove extraneous line-breaks in generated GLSL/Metal code. 2021-03-12 18:39:57 +00:00
StaticSwitchWithBreak.metal Revert "Only include header once in combined MSL shader." 2021-03-16 14:44:25 +00:00
StaticSwitchWithBreakInsideBlock.asm.frag Revert "Refactored SPIR-V RelaxedPrecision handling" 2021-03-15 21:24:47 +00:00
StaticSwitchWithBreakInsideBlock.glsl Remove extraneous line-breaks in generated GLSL/Metal code. 2021-03-12 18:39:57 +00:00
StaticSwitchWithBreakInsideBlock.metal Revert "Only include header once in combined MSL shader." 2021-03-16 14:44:25 +00:00
StaticSwitchWithConditionalBreak.asm.frag Revert "Refactored SPIR-V RelaxedPrecision handling" 2021-03-15 21:24:47 +00:00
StaticSwitchWithConditionalBreak.glsl Performance experiment: disable control-flow analysis. 2021-03-08 19:41:19 +00:00
StaticSwitchWithConditionalBreak.metal Revert "Only include header once in combined MSL shader." 2021-03-16 14:44:25 +00:00
StaticSwitchWithConditionalBreakInsideBlock.asm.frag Revert "Refactored SPIR-V RelaxedPrecision handling" 2021-03-15 21:24:47 +00:00
StaticSwitchWithConditionalBreakInsideBlock.glsl Performance experiment: disable control-flow analysis. 2021-03-08 19:41:19 +00:00
StaticSwitchWithConditionalBreakInsideBlock.metal Revert "Only include header once in combined MSL shader." 2021-03-16 14:44:25 +00:00
StaticSwitchWithContinue.asm.frag Revert "Refactored SPIR-V RelaxedPrecision handling" 2021-03-15 21:24:47 +00:00
StaticSwitchWithContinue.glsl Remove extraneous line-breaks in generated GLSL/Metal code. 2021-03-12 18:39:57 +00:00
StaticSwitchWithContinue.metal Revert "Only include header once in combined MSL shader." 2021-03-16 14:44:25 +00:00
StaticSwitchWithFallthroughA.asm.frag Revert "Refactored SPIR-V RelaxedPrecision handling" 2021-03-15 21:24:47 +00:00
StaticSwitchWithFallthroughA.glsl Remove extraneous line-breaks in generated GLSL/Metal code. 2021-03-12 18:39:57 +00:00
StaticSwitchWithFallthroughA.metal Revert "Only include header once in combined MSL shader." 2021-03-16 14:44:25 +00:00
StaticSwitchWithFallthroughB.asm.frag Revert "Refactored SPIR-V RelaxedPrecision handling" 2021-03-15 21:24:47 +00:00
StaticSwitchWithFallthroughB.glsl Remove extraneous line-breaks in generated GLSL/Metal code. 2021-03-12 18:39:57 +00:00
StaticSwitchWithFallthroughB.metal Revert "Only include header once in combined MSL shader." 2021-03-16 14:44:25 +00:00
StaticSwitchWithStaticConditionalBreak.asm.frag Revert "Refactored SPIR-V RelaxedPrecision handling" 2021-03-15 21:24:47 +00:00
StaticSwitchWithStaticConditionalBreak.glsl Performance experiment: disable control-flow analysis. 2021-03-08 19:41:19 +00:00
StaticSwitchWithStaticConditionalBreak.metal Revert "Only include header once in combined MSL shader." 2021-03-16 14:44:25 +00:00
StaticSwitchWithStaticConditionalBreakInsideBlock.asm.frag Revert "Refactored SPIR-V RelaxedPrecision handling" 2021-03-15 21:24:47 +00:00
StaticSwitchWithStaticConditionalBreakInsideBlock.glsl Performance experiment: disable control-flow analysis. 2021-03-08 19:41:19 +00:00
StaticSwitchWithStaticConditionalBreakInsideBlock.metal Revert "Only include header once in combined MSL shader." 2021-03-16 14:44:25 +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 Revert "Only include header once in combined MSL shader." 2021-03-16 14:44:25 +00:00
Structs.asm.frag Revert "Refactored SPIR-V RelaxedPrecision handling" 2021-03-15 21:24:47 +00:00
Structs.glsl Support structs in runtime effects 2021-02-11 21:09:15 +00:00
Structs.metal Revert "Only include header once in combined MSL shader." 2021-03-16 14:44:25 +00:00
StructsInFunctions.asm.frag Revert "Refactored SPIR-V RelaxedPrecision handling" 2021-03-15 21:24:47 +00:00
StructsInFunctions.glsl Add SkSL test for functions that operate on structs 2021-01-28 17:01:59 +00:00
StructsInFunctions.metal Revert "Only include header once in combined MSL shader." 2021-03-16 14:44:25 +00:00
Switch.asm.frag Revert "Refactored SPIR-V RelaxedPrecision handling" 2021-03-15 21:24:47 +00:00
Switch.glsl Migrate SkSL test inputs to the resources/ directory. 2021-01-22 18:57:29 +00:00
Switch.metal Revert "Only include header once in combined MSL shader." 2021-03-16 14:44:25 +00:00
SwitchContainingDeadCode.asm.frag Revert "Refactored SPIR-V RelaxedPrecision handling" 2021-03-15 21:24:47 +00:00
SwitchContainingDeadCode.glsl Performance experiment: disable control-flow analysis. 2021-03-08 19:41:19 +00:00
SwitchContainingDeadCode.metal Revert "Only include header once in combined MSL shader." 2021-03-16 14:44:25 +00:00
SwitchWithFallthrough.asm.frag Revert "Refactored SPIR-V RelaxedPrecision handling" 2021-03-15 21:24:47 +00:00
SwitchWithFallthrough.glsl Migrate SkSL test inputs to the resources/ directory. 2021-01-22 18:57:29 +00:00
SwitchWithFallthrough.metal Revert "Only include header once in combined MSL shader." 2021-03-16 14:44:25 +00:00
SwizzleBoolConstants.asm.frag Revert "Refactored SPIR-V RelaxedPrecision handling" 2021-03-15 21:24:47 +00:00
SwizzleBoolConstants.glsl Revert "Disable control-flow analysis in SkSL. (Performance experiment)" 2021-03-04 15:20:09 +00:00
SwizzleBoolConstants.metal Revert "Only include header once in combined MSL shader." 2021-03-16 14:44:25 +00:00
SwizzleByConstantIndex.asm.frag Revert "Inline functions of the form 'return (expr)' only." 2021-03-15 22:08:48 +00:00
SwizzleByConstantIndex.glsl Revert "Inline functions of the form 'return (expr)' only." 2021-03-15 22:08:48 +00:00
SwizzleByConstantIndex.metal Revert "Only include header once in combined MSL shader." 2021-03-16 14:44:25 +00:00
SwizzleByIndex.asm.frag Revert "Inline functions of the form 'return (expr)' only." 2021-03-15 22:08:48 +00:00
SwizzleByIndex.glsl Revert "Inline functions of the form 'return (expr)' only." 2021-03-15 22:08:48 +00:00
SwizzleByIndex.metal Revert "Only include header once in combined MSL shader." 2021-03-16 14:44:25 +00:00
SwizzleConstants.asm.frag Revert "Refactored SPIR-V RelaxedPrecision handling" 2021-03-15 21:24:47 +00:00
SwizzleConstants.glsl Revert "Disable control-flow analysis in SkSL. (Performance experiment)" 2021-03-04 15:20:09 +00:00
SwizzleConstants.metal Revert "Only include header once in combined MSL shader." 2021-03-16 14:44:25 +00:00
SwizzleLTRB.asm.frag Revert "Refactored SPIR-V RelaxedPrecision handling" 2021-03-15 21:24:47 +00:00
SwizzleLTRB.glsl Migrate some SkSL swizzle tests to dm. 2021-02-08 16:16:28 +00:00
SwizzleLTRB.metal Revert "Only include header once in combined MSL shader." 2021-03-16 14:44:25 +00:00
SwizzleOpt.asm.frag Revert "Refactored SPIR-V RelaxedPrecision handling" 2021-03-15 21:24:47 +00:00
SwizzleOpt.glsl Optimize Swizzles inside Swizzle::Make. 2021-03-05 20:09:55 +00:00
SwizzleOpt.metal Revert "Only include header once in combined MSL shader." 2021-03-16 14:44:25 +00:00
SwizzleScalar.asm.frag Revert "Refactored SPIR-V RelaxedPrecision handling" 2021-03-15 21:24:47 +00:00
SwizzleScalar.glsl Revert "Disable control-flow analysis in SkSL. (Performance experiment)" 2021-03-04 15:20:09 +00:00
SwizzleScalar.metal Revert "Only include header once in combined MSL shader." 2021-03-16 14:44:25 +00:00
TernaryAsLValueEntirelyFoldable.asm.frag Revert "Refactored SPIR-V RelaxedPrecision handling" 2021-03-15 21:24:47 +00:00
TernaryAsLValueEntirelyFoldable.glsl Remove extraneous line-breaks in generated GLSL/Metal code. 2021-03-12 18:39:57 +00:00
TernaryAsLValueEntirelyFoldable.metal Revert "Only include header once in combined MSL shader." 2021-03-16 14:44:25 +00:00
TernaryAsLValueFoldableTest.asm.frag Revert "Refactored SPIR-V RelaxedPrecision handling" 2021-03-15 21:24:47 +00:00
TernaryAsLValueFoldableTest.glsl Remove extraneous line-breaks in generated GLSL/Metal code. 2021-03-12 18:39:57 +00:00
TernaryAsLValueFoldableTest.metal Revert "Only include header once in combined MSL shader." 2021-03-16 14:44:25 +00:00
TernaryExpression.asm.frag Revert "Refactored SPIR-V RelaxedPrecision handling" 2021-03-15 21:24:47 +00:00
TernaryExpression.glsl Performance experiment: disable control-flow analysis. 2021-03-08 19:41:19 +00:00
TernaryExpression.metal Revert "Only include header once in combined MSL shader." 2021-03-16 14:44:25 +00:00
Texture1D.asm.frag Revert "Refactored SPIR-V RelaxedPrecision handling" 2021-03-15 21:24:47 +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 Revert "Refactored SPIR-V RelaxedPrecision handling" 2021-03-15 21:24:47 +00:00
Texture2D.glsl Migrate SkSL test inputs to the resources/ directory. 2021-01-22 18:57:29 +00:00
Texture2D.metal Revert "Only include header once in combined MSL shader." 2021-03-16 14:44:25 +00:00
TextureSharpen.asm.frag Revert "Refactored SPIR-V RelaxedPrecision handling" 2021-03-15 21:24:47 +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 Revert "Refactored SPIR-V RelaxedPrecision handling" 2021-03-15 21:24:47 +00:00
UnaryPositiveNegative.glsl Reduce self-assignment expressions (x = x) into just x. 2021-02-10 20:00:05 +00:00
UnaryPositiveNegative.metal Revert "Only include header once in combined MSL shader." 2021-03-16 14:44:25 +00:00
UniformArray.asm.frag Revert "Refactored SPIR-V RelaxedPrecision handling" 2021-03-15 21:24:47 +00:00
UniformArray.glsl Add default uniform set value to SkSL Program settings. 2021-01-27 00:52:16 +00:00
UniformArray.metal Revert "Only include header once in combined MSL shader." 2021-03-16 14:44:25 +00:00
UniformBuffers.asm.frag Revert "Refactored SPIR-V RelaxedPrecision handling" 2021-03-15 21:24:47 +00:00
UniformBuffers.glsl Add default uniform binding value for Metal/SPIR-V. 2021-01-28 19:23:49 +00:00
UniformBuffers.metal Revert "Only include header once in combined MSL shader." 2021-03-16 14:44:25 +00:00
Uniforms.asm.frag Revert "Refactored SPIR-V RelaxedPrecision handling" 2021-03-15 21:24:47 +00:00
Uniforms.glsl Add default uniform binding value for Metal/SPIR-V. 2021-01-28 19:23:49 +00:00
Uniforms.metal Revert "Only include header once in combined MSL shader." 2021-03-16 14:44:25 +00:00
UnusedVariables.asm.frag Revert "Refactored SPIR-V RelaxedPrecision handling" 2021-03-15 21:24:47 +00:00
UnusedVariables.glsl Remove extraneous line-breaks in generated GLSL/Metal code. 2021-03-12 18:39:57 +00:00
UnusedVariables.metal Revert "Only include header once in combined MSL shader." 2021-03-16 14:44:25 +00:00
VectorConstructors.asm.frag Revert "Refactored SPIR-V RelaxedPrecision handling" 2021-03-15 21:24:47 +00:00
VectorConstructors.glsl Performance experiment: disable control-flow analysis. 2021-03-08 19:41:19 +00:00
VectorConstructors.metal Revert "Only include header once in combined MSL shader." 2021-03-16 14:44:25 +00:00
VertexEarlyReturn.asm.vert Revert "Fixed a number of spots where we should have been using RelaxedPrecision" 2021-03-12 18:48:57 +00:00
VertexEarlyReturn.glsl Migrate SkSL test inputs to the resources/ directory. 2021-01-22 18:57:29 +00:00
VertexEarlyReturn.metal Revert "Only include header once in combined MSL shader." 2021-03-16 14:44:25 +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 Revert "Only include header once in combined MSL shader." 2021-03-16 14:44:25 +00:00
WhileLoopControlFlow.asm.frag Revert "Refactored SPIR-V RelaxedPrecision handling" 2021-03-15 21:24:47 +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 Revert "Only include header once in combined MSL shader." 2021-03-16 14:44:25 +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 Revert "Only include header once in combined MSL shader." 2021-03-16 14:44:25 +00:00