skia2/tests/sksl/shared
John Stiles 443fa19832 Implement compile-time optimization for sqrt(constant).
Change-Id: I3427fbaf57787c3051db95ec5882c9292d7985cf
Bug: skia:12034
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/411312
Commit-Queue: John Stiles <johnstiles@google.com>
Auto-Submit: John Stiles <johnstiles@google.com>
Reviewed-by: Brian Osman <brianosman@google.com>
2021-05-25 04:43:10 +00:00
..
ArrayComparison.asm.frag Reland "Add coords parameter to all .sksl test files used as runtime effects" 2021-04-27 20:47:31 +00:00
ArrayComparison.glsl Implement array == and != on SPIR-V. 2021-04-09 15:33:57 +00:00
ArrayComparison.metal Fix const globals in Metal 2021-05-13 21:11:10 +00:00
ArrayConstructors.asm.frag Reland "Add coords parameter to all .sksl test files used as runtime effects" 2021-04-27 20:47:31 +00:00
ArrayConstructors.glsl Performance experiment: disable control-flow analysis. 2021-03-08 19:41:19 +00:00
ArrayConstructors.metal Fix const globals in Metal 2021-05-13 21:11:10 +00:00
ArrayIndexTypes.asm.frag Revert "Revert "Added more RelaxedPrecision decorations"" 2021-03-23 19:34:42 +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 Fix array-of-struct name mangling in Pipeline stage. 2021-04-28 21:02:36 +00:00
ArrayTypes.glsl Fix array-of-struct name mangling in Pipeline stage. 2021-04-28 21:02:36 +00:00
ArrayTypes.metal Fix array-of-struct name mangling in Pipeline stage. 2021-04-28 21:02:36 +00:00
Assignment.asm.frag Reland "Add coords parameter to all .sksl test files used as runtime effects" 2021-04-27 20:47:31 +00:00
Assignment.glsl Eliminate unused local variables during SkSL optimization. 2021-03-16 17:22:53 +00:00
Assignment.metal Eliminate unused local variables during SkSL optimization. 2021-03-16 17:22:53 +00:00
Caps.asm.frag Revert "Revert "Added more RelaxedPrecision decorations"" 2021-03-23 19:34:42 +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 Reland "Add coords parameter to all .sksl test files used as runtime effects" 2021-04-27 20:47:31 +00:00
CastsRoundTowardZero.glsl Performance experiment: disable control-flow analysis. 2021-03-08 19:41:19 +00:00
CastsRoundTowardZero.metal Fix const globals in Metal 2021-05-13 21:11:10 +00:00
Clockwise.asm.frag Revert "Revert "Added more RelaxedPrecision decorations"" 2021-03-23 19:34:42 +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 Remove usage of sqrt() as an optimization barrier in tests. 2021-05-24 17:18:54 +00:00
CommaMixedTypes.glsl Remove usage of sqrt() as an optimization barrier in tests. 2021-05-24 17:18:54 +00:00
CommaMixedTypes.metal Remove usage of sqrt() as an optimization barrier in tests. 2021-05-24 17:18:54 +00:00
CommaSideEffects.asm.frag Reland "Add coords parameter to all .sksl test files used as runtime effects" 2021-04-27 20:47:31 +00:00
CommaSideEffects.glsl Mangle function names in GLSL. 2021-03-22 17:18:26 +00:00
CommaSideEffects.metal Fix const globals in Metal 2021-05-13 21:11:10 +00:00
ComplexDelete.asm.frag Revert "Vectorize scalars in SPIR-V using ConstructorSplat." 2021-05-14 14:29:33 +00:00
ComplexDelete.glsl Revert "Disable control-flow analysis in SkSL. (Performance experiment)" 2021-03-04 15:20:09 +00:00
ComplexDelete.metal Reland "Implement operator== and != for Metal structs and arrays." 2021-04-29 22:55:58 +00:00
ConstantIf.asm.frag Reland "Add coords parameter to all .sksl test files used as runtime effects" 2021-04-27 20:47:31 +00:00
ConstantIf.glsl Remove extraneous line-breaks in generated GLSL/Metal code. 2021-03-12 18:39:57 +00:00
ConstantIf.metal Fix const globals in Metal 2021-05-13 21:11:10 +00:00
ConstArray.asm.frag Enable proper testing of const arrays. 2021-05-14 13:37:12 +00:00
ConstArray.glsl Enable proper testing of const arrays. 2021-05-14 13:37:12 +00:00
ConstArray.metal Enable proper testing of const arrays. 2021-05-14 13:37:12 +00:00
ConstVariableComparison.asm.frag Cleanup TODO for constant-expression handling. 2021-05-14 13:36:33 +00:00
ConstVariableComparison.glsl Cleanup TODO for constant-expression handling. 2021-05-14 13:36:33 +00:00
ConstVariableComparison.metal Cleanup TODO for constant-expression handling. 2021-05-14 13:36:33 +00:00
Control.asm.frag Remove usage of sqrt() as an optimization barrier in tests. 2021-05-24 17:18:54 +00:00
Control.glsl Remove usage of sqrt() as an optimization barrier in tests. 2021-05-24 17:18:54 +00:00
Control.metal Remove usage of sqrt() as an optimization barrier in tests. 2021-05-24 17:18:54 +00:00
DeadDoWhileLoop.asm.frag Perform the loop-exit test when continuing from inside a do-while. 2021-04-16 22:36:14 +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 Reland "Add coords parameter to all .sksl test files used as runtime effects" 2021-04-27 20:47:31 +00:00
DeadIfStatement.glsl Eliminate unused local variables during SkSL optimization. 2021-03-16 17:22:53 +00:00
DeadIfStatement.metal Fix const globals in Metal 2021-05-13 21:11:10 +00:00
DeadLoopVariable.asm.frag Reland "Add coords parameter to all .sksl test files used as runtime effects" 2021-04-27 20:47:31 +00:00
DeadLoopVariable.glsl Performance experiment: disable control-flow analysis. 2021-03-08 19:41:19 +00:00
DeadLoopVariable.metal Fix const globals in Metal 2021-05-13 21:11:10 +00:00
DeadReturn.asm.frag Reland "Eliminate unreachable code during optimization." 2021-05-20 20:02:15 +00:00
DeadReturn.glsl Reland "Eliminate unreachable code during optimization." 2021-05-20 20:02:15 +00:00
DeadReturn.metal Reland "Eliminate unreachable code during optimization." 2021-05-20 20:02:15 +00:00
DeadReturnES3.asm.frag Reland "Eliminate unreachable code during optimization." 2021-05-20 20:02:15 +00:00
DeadReturnES3.glsl Reland "Eliminate unreachable code during optimization." 2021-05-20 20:02:15 +00:00
DeadReturnES3.metal Reland "Eliminate unreachable code during optimization." 2021-05-20 20:02:15 +00:00
DeadStripFunctions.asm.frag Reland "Add coords parameter to all .sksl test files used as runtime effects" 2021-04-27 20:47:31 +00:00
DeadStripFunctions.glsl Mangle function names in GLSL. 2021-03-22 17:18:26 +00:00
DeadStripFunctions.metal Fix const globals in Metal 2021-05-13 21:11:10 +00:00
DependentInitializers.asm.frag Reland "Add coords parameter to all .sksl test files used as runtime effects" 2021-04-27 20:47:31 +00:00
DependentInitializers.glsl Remove extraneous line-breaks in generated GLSL/Metal code. 2021-03-12 18:39:57 +00:00
DependentInitializers.metal Fix const globals in Metal 2021-05-13 21:11:10 +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 "Revert "Refactored SPIR-V RelaxedPrecision handling"" 2021-03-18 15:01:15 +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 Reland "Eliminate unreachable code during optimization." 2021-05-20 20:02:15 +00:00
Discard.glsl Reland "Eliminate unreachable code during optimization." 2021-05-20 20:02:15 +00:00
Discard.metal Reland "Eliminate unreachable code during optimization." 2021-05-20 20:02:15 +00:00
DoWhileControlFlow.asm.frag Reland "Add coords parameter to all .sksl test files used as runtime effects" 2021-04-27 20:47:31 +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 Remove usage of sqrt() as an optimization barrier in tests. 2021-05-24 17:18:54 +00:00
EmptyBlocksES2.glsl Remove usage of sqrt() as an optimization barrier in tests. 2021-05-24 17:18:54 +00:00
EmptyBlocksES2.metal Remove usage of sqrt() as an optimization barrier in tests. 2021-05-24 17:18:54 +00:00
EmptyBlocksES3.asm.frag Remove usage of sqrt() as an optimization barrier in tests. 2021-05-24 17:18:54 +00:00
EmptyBlocksES3.glsl Remove usage of sqrt() as an optimization barrier in tests. 2021-05-24 17:18:54 +00:00
EmptyBlocksES3.metal Remove usage of sqrt() as an optimization barrier in tests. 2021-05-24 17:18:54 +00:00
Enum.asm.frag Fix broken Enum unit test. 2021-04-09 19:07:27 +00:00
Enum.glsl Fix broken Enum unit test. 2021-04-09 19:07:27 +00:00
Enum.metal Fix broken Enum unit test. 2021-04-09 19:07:27 +00:00
ForLoopControlFlow.asm.frag Reland "Add coords parameter to all .sksl test files used as runtime effects" 2021-04-27 20:47:31 +00:00
ForLoopControlFlow.glsl Reland "Add SkSL for-loop control flow test to dm." 2021-01-27 15:46:39 +00:00
ForLoopControlFlow.metal Fix const globals in Metal 2021-05-13 21:11:10 +00:00
ForLoopMultipleInit.asm.frag Reland "Add coords parameter to all .sksl test files used as runtime effects" 2021-04-27 20:47:31 +00:00
ForLoopMultipleInit.glsl Simplify for init-stmts at the IR level. 2021-04-20 14:38:36 +00:00
ForLoopMultipleInit.metal Simplify for init-stmts at the IR level. 2021-04-20 14:38:36 +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 Allow function declarations to take (void). 2021-05-21 19:21:23 +00:00
FunctionArgTypeMatch.glsl Allow function declarations to take (void). 2021-05-21 19:21:23 +00:00
FunctionArgTypeMatch.metal Allow function declarations to take (void). 2021-05-21 19:21:23 +00:00
FunctionPrototype.asm.frag Reland "Add coords parameter to all .sksl test files used as runtime effects" 2021-04-27 20:47:31 +00:00
FunctionPrototype.glsl Mangle function names in GLSL. 2021-03-22 17:18:26 +00:00
FunctionPrototype.metal Fix const globals in Metal 2021-05-13 21:11:10 +00:00
FunctionReturnTypeMatch.asm.frag Reland "Add coords parameter to all .sksl test files used as runtime effects" 2021-04-27 20:47:31 +00:00
FunctionReturnTypeMatch.glsl Mangle function names in GLSL. 2021-03-22 17:18:26 +00:00
FunctionReturnTypeMatch.metal Fix const globals in Metal 2021-05-13 21:11:10 +00:00
Functions.asm.frag Reland "Add coords parameter to all .sksl test files used as runtime effects" 2021-04-27 20:47:31 +00:00
Functions.glsl Mangle function names in GLSL. 2021-03-22 17:18:26 +00:00
Functions.metal Fix const globals in Metal 2021-05-13 21:11:10 +00:00
GaussianBlur.asm.frag Represent vector-cast constructors with ConstructorVectorCast. 2021-04-05 16:28:06 +00:00
GaussianBlur.glsl Mangle function names in GLSL. 2021-03-22 17:18:26 +00:00
GaussianBlur.metal Mangle function names in Metal. 2021-03-22 17:23:21 +00:00
GeometricIntrinsics.asm.frag Reland "Add coords parameter to all .sksl test files used as runtime effects" 2021-04-27 20:47:31 +00:00
GeometricIntrinsics.glsl Eliminate unused local variables during SkSL optimization. 2021-03-16 17:22:53 +00:00
GeometricIntrinsics.metal Fix const globals in Metal 2021-05-13 21:11:10 +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
HelloWorld.asm.frag Reland "Add coords parameter to all .sksl test files used as runtime effects" 2021-04-27 20:47:31 +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 Reland "Add coords parameter to all .sksl test files used as runtime effects" 2021-04-27 20:47:31 +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 Fix const globals in Metal 2021-05-13 21:11:10 +00:00
HexUnsigned.asm.frag Reland "Add coords parameter to all .sksl test files used as runtime effects" 2021-04-27 20:47:31 +00:00
HexUnsigned.glsl Migrate more SkSL tests to run in dm. 2021-02-03 23:45:15 +00:00
HexUnsigned.metal Fix const globals in Metal 2021-05-13 21:11:10 +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 Fix const globals in Metal 2021-05-13 21:11:10 +00:00
InterfaceBlockNamed.asm.frag Revert "Revert "Added more RelaxedPrecision decorations"" 2021-03-23 19:34:42 +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 "Revert "Added more RelaxedPrecision decorations"" 2021-03-23 19:34:42 +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 Fix comma operator support with matrices in Metal. 2021-05-20 18:08:35 +00:00
Matrices.glsl Fix comma operator support with matrices in Metal. 2021-05-20 18:08:35 +00:00
Matrices.metal Fix comma operator support with matrices in Metal. 2021-05-20 18:08:35 +00:00
MatricesNonsquare.asm.frag Add GLSL workaround for 4x2 diagonal matrix bug. 2021-05-18 22:50:19 +00:00
MatricesNonsquare.glsl Add GLSL workaround for 4x2 diagonal matrix bug. 2021-05-18 22:50:19 +00:00
MatricesNonsquare.metal Add GLSL workaround for 4x2 diagonal matrix bug. 2021-05-18 22:50:19 +00:00
MatrixEquality.asm.frag Reland "Add coords parameter to all .sksl test files used as runtime effects" 2021-04-27 20:47:31 +00:00
MatrixEquality.glsl Revert "Inline functions of the form 'return (expr)' only." 2021-03-15 22:08:48 +00:00
MatrixEquality.metal Fix const globals in Metal 2021-05-13 21:11:10 +00:00
MatrixScalarSplat.asm.frag Enable proper testing of matrix-scalar ops. 2021-05-17 17:36:22 +00:00
MatrixScalarSplat.glsl Enable proper testing of matrix-scalar ops. 2021-05-17 17:36:22 +00:00
MatrixScalarSplat.metal Enable proper testing of matrix-scalar ops. 2021-05-17 17:36:22 +00:00
MultipleAssignments.asm.frag Reland "Add coords parameter to all .sksl test files used as runtime effects" 2021-04-27 20:47:31 +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 Optimize splat constructors containing const vars. 2021-05-05 17:44:06 +00:00
NegatedVectorLiteral.glsl Optimize splat constructors containing const vars. 2021-05-05 17:44:06 +00:00
NegatedVectorLiteral.metal Fix const globals in Metal 2021-05-13 21:11:10 +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 Fix const globals in Metal 2021-05-13 21:11:10 +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 Fix const globals in Metal 2021-05-13 21:11:10 +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 Represent vector-cast constructors with ConstructorVectorCast. 2021-04-05 16:28:06 +00:00
NormalizationVert.glsl Migrate SkSL test inputs to the resources/ directory. 2021-01-22 18:57:29 +00:00
NormalizationVert.metal Fix const globals in Metal 2021-05-13 21:11:10 +00:00
NumberCasts.asm.frag Reland "Add coords parameter to all .sksl test files used as runtime effects" 2021-04-27 20:47:31 +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 Remove usage of sqrt() as an optimization barrier in tests. 2021-05-24 17:18:54 +00:00
NumberConversions.glsl Remove usage of sqrt() as an optimization barrier in tests. 2021-05-24 17:18:54 +00:00
NumberConversions.metal Remove usage of sqrt() as an optimization barrier in tests. 2021-05-24 17:18:54 +00:00
Offset.asm.frag Revert "Revert "Added more RelaxedPrecision decorations"" 2021-03-23 19:34:42 +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 Remove usage of sqrt() as an optimization barrier in tests. 2021-05-24 17:18:54 +00:00
OperatorsES2.glsl Remove usage of sqrt() as an optimization barrier in tests. 2021-05-24 17:18:54 +00:00
OperatorsES2.metal Remove usage of sqrt() as an optimization barrier in tests. 2021-05-24 17:18:54 +00:00
OperatorsES3.asm.frag Remove usage of sqrt() as an optimization barrier in tests. 2021-05-24 17:18:54 +00:00
OperatorsES3.glsl Remove usage of sqrt() as an optimization barrier in tests. 2021-05-24 17:18:54 +00:00
OperatorsES3.metal Remove usage of sqrt() as an optimization barrier in tests. 2021-05-24 17:18:54 +00:00
Ossfuzz26167.asm.frag Revert "Revert "Refactored SPIR-V RelaxedPrecision handling"" 2021-03-18 15:01:15 +00:00
Ossfuzz26167.glsl Eliminate unused local variables during SkSL optimization. 2021-03-16 17:22:53 +00:00
Ossfuzz26167.metal Eliminate unused local variables during SkSL optimization. 2021-03-16 17:22:53 +00:00
Ossfuzz26759.asm.frag Fix up outdated tests. 2021-03-22 21:11:47 +00:00
Ossfuzz26759.glsl Fix up outdated tests. 2021-03-22 21:11:47 +00:00
Ossfuzz26759.metal Fix up outdated tests. 2021-03-22 21:11:47 +00:00
Ossfuzz28794.asm.frag Implement compile-time optimization for sqrt(constant). 2021-05-25 04:43:10 +00:00
Ossfuzz28794.glsl Implement compile-time optimization for sqrt(constant). 2021-05-25 04:43:10 +00:00
Ossfuzz28794.metal Implement compile-time optimization for sqrt(constant). 2021-05-25 04:43:10 +00:00
Ossfuzz28904.asm.frag Revert "Revert "Added more RelaxedPrecision decorations"" 2021-03-23 19:34:42 +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
Ossfuzz29085.asm.frag Fix various fuzzer-generated tests. 2021-04-12 13:44:59 +00:00
Ossfuzz29085.glsl Fix various fuzzer-generated tests. 2021-04-12 13:44:59 +00:00
Ossfuzz29085.metal Fix various fuzzer-generated tests. 2021-04-12 13:44:59 +00:00
Ossfuzz29494.asm.frag Revert "Revert "Added more RelaxedPrecision decorations"" 2021-03-23 19:34:42 +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 Reland "Add coords parameter to all .sksl test files used as runtime effects" 2021-04-27 20:47:31 +00:00
OutParams.glsl Mangle function names in GLSL. 2021-03-22 17:18:26 +00:00
OutParams.metal Fix const globals in Metal 2021-05-13 21:11:10 +00:00
OutParamsNoInline.asm.frag Reland "Add coords parameter to all .sksl test files used as runtime effects" 2021-04-27 20:47:31 +00:00
OutParamsNoInline.glsl Mangle function names in GLSL. 2021-03-22 17:18:26 +00:00
OutParamsNoInline.metal Fix const globals in Metal 2021-05-13 21:11:10 +00:00
OutParamsTricky.asm.frag Reland "Add coords parameter to all .sksl test files used as runtime effects" 2021-04-27 20:47:31 +00:00
OutParamsTricky.glsl Mangle function names in GLSL. 2021-03-22 17:18:26 +00:00
OutParamsTricky.metal Fix const globals in Metal 2021-05-13 21:11:10 +00:00
RectangleTexture.asm.frag Revert "Revert "Refactored SPIR-V RelaxedPrecision handling"" 2021-03-18 15:01:15 +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 Reland "Add coords parameter to all .sksl test files used as runtime effects" 2021-04-27 20:47:31 +00:00
ResizeMatrix.glsl Performance experiment: disable control-flow analysis. 2021-03-08 19:41:19 +00:00
ResizeMatrix.metal Fix const globals in Metal 2021-05-13 21:11:10 +00:00
ResizeMatrixNonsquare.asm.frag Reland "Add coords parameter to all .sksl test files used as runtime effects" 2021-04-27 20:47:31 +00:00
ResizeMatrixNonsquare.glsl Add GLSL workaround for 4x2 diagonal matrix bug. 2021-05-18 22:50:19 +00:00
ResizeMatrixNonsquare.metal Fix const globals in Metal 2021-05-13 21:11:10 +00:00
ReturnBadTypeFromMain.asm.frag Revert "Revert "Refactored SPIR-V RelaxedPrecision handling"" 2021-03-18 15:01:15 +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 Reland "Add coords parameter to all .sksl test files used as runtime effects" 2021-04-27 20:47:31 +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 Reland "Add coords parameter to all .sksl test files used as runtime effects" 2021-04-27 20:47:31 +00:00
ReturnsValueOnEveryPathES2.glsl Mangle function names in GLSL. 2021-03-22 17:18:26 +00:00
ReturnsValueOnEveryPathES2.metal Fix const globals in Metal 2021-05-13 21:11:10 +00:00
ReturnsValueOnEveryPathES3.asm.frag Reland "Add coords parameter to all .sksl test files used as runtime effects" 2021-04-27 20:47:31 +00:00
ReturnsValueOnEveryPathES3.glsl Mangle function names in GLSL. 2021-03-22 17:18:26 +00:00
ReturnsValueOnEveryPathES3.metal Fix const globals in Metal 2021-05-13 21:11:10 +00:00
SampleLocations.asm.vert Convert division-by-literal in SPIR-V to multiplication. 2021-03-26 02:30:54 +00:00
SampleLocations.glsl Performance experiment: disable control-flow analysis. 2021-03-08 19:41:19 +00:00
SampleLocations.metal Fix const globals in Metal 2021-05-13 21:11:10 +00:00
ScalarConversionConstructorsES2.asm.frag Reland "Add coords parameter to all .sksl test files used as runtime effects" 2021-04-27 20:47:31 +00:00
ScalarConversionConstructorsES2.glsl Migrate even more SkSL tests to run in dm. 2021-02-05 16:04:43 +00:00
ScalarConversionConstructorsES2.metal Fix const globals in Metal 2021-05-13 21:11:10 +00:00
ScalarConversionConstructorsES3.asm.frag Reland "Add coords parameter to all .sksl test files used as runtime effects" 2021-04-27 20:47:31 +00:00
ScalarConversionConstructorsES3.glsl Migrate even more SkSL tests to run in dm. 2021-02-05 16:04:43 +00:00
ScalarConversionConstructorsES3.metal Fix const globals in Metal 2021-05-13 21:11:10 +00:00
ScopedSymbol.asm.frag Revert "Revert "Refactored SPIR-V RelaxedPrecision handling"" 2021-03-18 15:01:15 +00:00
ScopedSymbol.glsl Eliminate unused local variables during SkSL optimization. 2021-03-16 17:22:53 +00:00
ScopedSymbol.metal Eliminate unused local variables during SkSL optimization. 2021-03-16 17:22:53 +00:00
StackingVectorCasts.asm.frag Reland "Add coords parameter to all .sksl test files used as runtime effects" 2021-04-27 20:47:31 +00:00
StackingVectorCasts.glsl Migrate even more SkSL tests to run in dm. 2021-02-05 16:04:43 +00:00
StackingVectorCasts.metal Fix const globals in Metal 2021-05-13 21:11:10 +00:00
StaticIf.asm.frag Reland "Add coords parameter to all .sksl test files used as runtime effects" 2021-04-27 20:47:31 +00:00
StaticIf.glsl Eliminate unused local variables during SkSL optimization. 2021-03-16 17:22:53 +00:00
StaticIf.metal Fix const globals in Metal 2021-05-13 21:11:10 +00:00
StaticSwitch.asm.frag Enable additional SkSL tests which require non-ES2 features. 2021-05-17 20:24:50 +00:00
StaticSwitch.glsl Enable additional SkSL tests which require non-ES2 features. 2021-05-17 20:24:50 +00:00
StaticSwitch.metal Enable additional SkSL tests which require non-ES2 features. 2021-05-17 20:24:50 +00:00
StaticSwitchWithBreak.asm.frag Revert "Revert "Added more RelaxedPrecision decorations"" 2021-03-23 19:34:42 +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 "Revert "Added more RelaxedPrecision decorations"" 2021-03-23 19:34:42 +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 Remove usage of sqrt() as an optimization barrier in tests. 2021-05-24 17:18:54 +00:00
StaticSwitchWithConditionalBreak.glsl Remove usage of sqrt() as an optimization barrier in tests. 2021-05-24 17:18:54 +00:00
StaticSwitchWithConditionalBreak.metal Remove usage of sqrt() as an optimization barrier in tests. 2021-05-24 17:18:54 +00:00
StaticSwitchWithConditionalBreakInsideBlock.asm.frag Remove usage of sqrt() as an optimization barrier in tests. 2021-05-24 17:18:54 +00:00
StaticSwitchWithConditionalBreakInsideBlock.glsl Remove usage of sqrt() as an optimization barrier in tests. 2021-05-24 17:18:54 +00:00
StaticSwitchWithConditionalBreakInsideBlock.metal Remove usage of sqrt() as an optimization barrier in tests. 2021-05-24 17:18:54 +00:00
StaticSwitchWithContinue.asm.frag Evaluate single-argument generic intrinsics at compile time. 2021-05-10 14:50:50 +00:00
StaticSwitchWithContinue.glsl Evaluate single-argument generic intrinsics at compile time. 2021-05-10 14:50:50 +00:00
StaticSwitchWithContinue.metal Fix const globals in Metal 2021-05-13 21:11:10 +00:00
StaticSwitchWithFallthroughA.asm.frag Revert "Revert "Added more RelaxedPrecision decorations"" 2021-03-23 19:34:42 +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 "Revert "Added more RelaxedPrecision decorations"" 2021-03-23 19:34:42 +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 "Revert "Added more RelaxedPrecision decorations"" 2021-03-23 19:34:42 +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 "Revert "Added more RelaxedPrecision decorations"" 2021-03-23 19:34:42 +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 Fix const globals in Metal 2021-05-13 21:11:10 +00:00
Structs.asm.frag Revert "Revert "Added more RelaxedPrecision decorations"" 2021-03-23 19:34:42 +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 Reland "Implement operator== and != for Metal structs and arrays." 2021-04-29 22:55:58 +00:00
StructsInFunctions.glsl Reland "Implement operator== and != for Metal structs and arrays." 2021-04-29 22:55:58 +00:00
StructsInFunctions.metal Fix const globals in Metal 2021-05-13 21:11:10 +00:00
Switch.asm.frag Remove usage of sqrt() as an optimization barrier in tests. 2021-05-24 17:18:54 +00:00
Switch.glsl Remove usage of sqrt() as an optimization barrier in tests. 2021-05-24 17:18:54 +00:00
Switch.metal Remove usage of sqrt() as an optimization barrier in tests. 2021-05-24 17:18:54 +00:00
SwitchContainingDeadCode.asm.frag Remove usage of sqrt() as an optimization barrier in tests. 2021-05-24 17:18:54 +00:00
SwitchContainingDeadCode.glsl Remove usage of sqrt() as an optimization barrier in tests. 2021-05-24 17:18:54 +00:00
SwitchContainingDeadCode.metal Remove usage of sqrt() as an optimization barrier in tests. 2021-05-24 17:18:54 +00:00
SwitchWithFallthrough.asm.frag Remove usage of sqrt() as an optimization barrier in tests. 2021-05-24 17:18:54 +00:00
SwitchWithFallthrough.glsl Remove usage of sqrt() as an optimization barrier in tests. 2021-05-24 17:18:54 +00:00
SwitchWithFallthrough.metal Remove usage of sqrt() as an optimization barrier in tests. 2021-05-24 17:18:54 +00:00
SwizzleBoolConstants.asm.frag Reland "Add coords parameter to all .sksl test files used as runtime effects" 2021-04-27 20:47:31 +00:00
SwizzleBoolConstants.glsl Revert "Disable control-flow analysis in SkSL. (Performance experiment)" 2021-03-04 15:20:09 +00:00
SwizzleBoolConstants.metal Fix const globals in Metal 2021-05-13 21:11:10 +00:00
SwizzleByConstantIndex.asm.frag Reland "Add coords parameter to all .sksl test files used as runtime effects" 2021-04-27 20:47:31 +00:00
SwizzleByConstantIndex.glsl Eliminate unused local variables during SkSL optimization. 2021-03-16 17:22:53 +00:00
SwizzleByConstantIndex.metal Fix const globals in Metal 2021-05-13 21:11:10 +00:00
SwizzleByIndex.asm.frag Reland "Add coords parameter to all .sksl test files used as runtime effects" 2021-04-27 20:47:31 +00:00
SwizzleByIndex.glsl Revert "Inline functions of the form 'return (expr)' only." 2021-03-15 22:08:48 +00:00
SwizzleByIndex.metal Fix const globals in Metal 2021-05-13 21:11:10 +00:00
SwizzleConstants.asm.frag Reland "Add coords parameter to all .sksl test files used as runtime effects" 2021-04-27 20:47:31 +00:00
SwizzleConstants.glsl Revert "Disable control-flow analysis in SkSL. (Performance experiment)" 2021-03-04 15:20:09 +00:00
SwizzleConstants.metal Fix const globals in Metal 2021-05-13 21:11:10 +00:00
SwizzleLTRB.asm.frag Reland "Add coords parameter to all .sksl test files used as runtime effects" 2021-04-27 20:47:31 +00:00
SwizzleLTRB.glsl Migrate some SkSL swizzle tests to dm. 2021-02-08 16:16:28 +00:00
SwizzleLTRB.metal Fix const globals in Metal 2021-05-13 21:11:10 +00:00
SwizzleOpt.asm.frag Reland "Add coords parameter to all .sksl test files used as runtime effects" 2021-04-27 20:47:31 +00:00
SwizzleOpt.glsl Mangle function names in GLSL. 2021-03-22 17:18:26 +00:00
SwizzleOpt.metal Fix const globals in Metal 2021-05-13 21:11:10 +00:00
SwizzleScalar.asm.frag Reland "Add coords parameter to all .sksl test files used as runtime effects" 2021-04-27 20:47:31 +00:00
SwizzleScalar.glsl Revert "Disable control-flow analysis in SkSL. (Performance experiment)" 2021-03-04 15:20:09 +00:00
SwizzleScalar.metal Fix const globals in Metal 2021-05-13 21:11:10 +00:00
TernaryAsLValueEntirelyFoldable.asm.frag Reland "Add coords parameter to all .sksl test files used as runtime effects" 2021-04-27 20:47:31 +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 Reland "Add coords parameter to all .sksl test files used as runtime effects" 2021-04-27 20:47:31 +00:00
TernaryAsLValueFoldableTest.glsl Remove extraneous line-breaks in generated GLSL/Metal code. 2021-03-12 18:39:57 +00:00
TernaryAsLValueFoldableTest.metal Fix const globals in Metal 2021-05-13 21:11:10 +00:00
TernaryExpression.asm.frag Reland "Add coords parameter to all .sksl test files used as runtime effects" 2021-04-27 20:47:31 +00:00
TernaryExpression.glsl Eliminate unused local variables during SkSL optimization. 2021-03-16 17:22:53 +00:00
TernaryExpression.metal Fix const globals in Metal 2021-05-13 21:11:10 +00:00
Texture1D.asm.frag Revert "Revert "Added more RelaxedPrecision decorations"" 2021-03-23 19:34:42 +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 "Revert "Added more RelaxedPrecision decorations"" 2021-03-23 19:34:42 +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 "Revert "Added more RelaxedPrecision decorations"" 2021-03-23 19:34:42 +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 Reland "Add coords parameter to all .sksl test files used as runtime effects" 2021-04-27 20:47:31 +00:00
UnaryPositiveNegative.glsl Reduce self-assignment expressions (x = x) into just x. 2021-02-10 20:00:05 +00:00
UnaryPositiveNegative.metal Fix const globals in Metal 2021-05-13 21:11:10 +00:00
UniformArray.asm.frag Revert "Revert "Refactored SPIR-V RelaxedPrecision handling"" 2021-03-18 15:01:15 +00:00
UniformArray.glsl Add default uniform set value to SkSL Program settings. 2021-01-27 00:52:16 +00:00
UniformArray.metal Fix const globals in Metal 2021-05-13 21:11:10 +00:00
UniformBuffers.asm.frag Revert "Revert "Added more RelaxedPrecision decorations"" 2021-03-23 19:34:42 +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 Reland "Add coords parameter to all .sksl test files used as runtime effects" 2021-04-27 20:47:31 +00:00
Uniforms.glsl Add default uniform binding value for Metal/SPIR-V. 2021-01-28 19:23:49 +00:00
Uniforms.metal Fix const globals in Metal 2021-05-13 21:11:10 +00:00
UnusedVariables.asm.frag Reland "Add coords parameter to all .sksl test files used as runtime effects" 2021-04-27 20:47:31 +00:00
UnusedVariables.glsl Eliminate unused local variables during SkSL optimization. 2021-03-16 17:22:53 +00:00
UnusedVariables.metal Eliminate unused local variables during SkSL optimization. 2021-03-16 17:22:53 +00:00
VectorConstructors.asm.frag Remove usage of sqrt() as an optimization barrier in tests. 2021-05-24 17:18:54 +00:00
VectorConstructors.glsl Remove usage of sqrt() as an optimization barrier in tests. 2021-05-24 17:18:54 +00:00
VectorConstructors.metal Remove usage of sqrt() as an optimization barrier in tests. 2021-05-24 17:18:54 +00:00
VectorScalarMath.asm.frag Reland "Add coords parameter to all .sksl test files used as runtime effects" 2021-04-27 20:47:31 +00:00
VectorScalarMath.glsl Add SkSL test for vector-scalar math. 2021-03-25 23:30:34 +00:00
VectorScalarMath.metal Fix const globals in Metal 2021-05-13 21:11:10 +00:00
VertexEarlyReturn.asm.vert Represent vector-cast constructors with ConstructorVectorCast. 2021-04-05 16:28:06 +00:00
VertexEarlyReturn.glsl Migrate SkSL test inputs to the resources/ directory. 2021-01-22 18:57:29 +00:00
VertexEarlyReturn.metal Fix const globals in Metal 2021-05-13 21:11:10 +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 Fix const globals in Metal 2021-05-13 21:11:10 +00:00
WhileLoopControlFlow.asm.frag Reland "Add coords parameter to all .sksl test files used as runtime effects" 2021-04-27 20:47:31 +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