skia2/tests/sksl/shared
John Stiles c18ee4e55a Honor component type in Metal matrix helper functions.
Right now, Metal forces types to full precision. The matrix helper
functions previously baked in that assumption by hard-coding "floatX".
Now, they honor the component type; if this->typeName() started
returning "half", our helper functions would be named with "halfX". This
would allow half-precision and full-precision helpers to coexist.

Change-Id: I1679e6e76d2cf3c27fd69c42a92fb24bff6b69ec
Bug: skia:12339
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/439396
Commit-Queue: Brian Osman <brianosman@google.com>
Reviewed-by: Brian Osman <brianosman@google.com>
Auto-Submit: John Stiles <johnstiles@google.com>
2021-08-16 14:34:15 +00:00
..
ArrayCast.asm.frag Add support for array-cast syntax in SkSL. 2021-08-11 12:56:40 +00:00
ArrayCast.glsl Add support for array-cast syntax in SkSL. 2021-08-11 12:56:40 +00:00
ArrayCast.metal Add support for array-cast syntax in SkSL. 2021-08-11 12:56:40 +00:00
ArrayComparison.asm.frag Reland "Fix array-of-matrix/struct comparisons in Metal." 2021-08-10 21:05:20 +00:00
ArrayComparison.glsl Reland "Fix array-of-matrix/struct comparisons in Metal." 2021-08-10 21:05:20 +00:00
ArrayComparison.metal Reland "Fix array-of-matrix/struct comparisons in Metal." 2021-08-10 21:05:20 +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 Avoid short/ushort in MSL code generator. 2021-08-10 18:08:25 +00:00
ArrayNarrowingConversions.asm.frag Add tests for array assignment with narrowing conversions. 2021-08-11 12:56:40 +00:00
ArrayNarrowingConversions.glsl Add tests for array assignment with narrowing conversions. 2021-08-11 12:56:40 +00:00
ArrayNarrowingConversions.metal Add tests for array assignment with narrowing conversions. 2021-08-11 12:56:40 +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 Simplify SPIR-V matrix construction logic. 2021-07-09 13:32:36 +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 Increase baked-in offset of RTFlip in skslc. 2021-08-12 21:04:45 +00:00
Clockwise.glsl Reland "Don't key progams/pipelines on origin."" 2021-07-07 14:50:10 +00:00
Clockwise.metal Reland "Don't key progams/pipelines on origin."" 2021-07-07 14:50:10 +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 "Fix array-of-matrix/struct comparisons in Metal." 2021-08-10 21:05:20 +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
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
DerivativesStandaloneSettings.glsl
DerivativesUnused.asm.frag Revert "Revert "Refactored SPIR-V RelaxedPrecision handling"" 2021-03-18 15:01:15 +00:00
DerivativesUnused.glsl
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
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
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
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
FragCoords.asm.frag Increase baked-in offset of RTFlip in skslc. 2021-08-12 21:04:45 +00:00
FragCoords.glsl Reland "Don't key progams/pipelines on origin."" 2021-07-07 14:50:10 +00:00
FragCoords.metal Reland "Don't key progams/pipelines on origin."" 2021-07-07 14:50:10 +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 Reland "Fix array-of-matrix/struct comparisons in Metal." 2021-08-10 21:05:20 +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
Geometry.glsl
Geometry.metal
GeometryExtension.asm.geom
GeometryExtension.glsl
GeometryExtension.metal
GeometryGSInvocations.asm.geom
GeometryGSInvocations.glsl
GeometryGSInvocations.metal
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
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
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
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
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
HexUnsigned.metal Avoid short/ushort in MSL code generator. 2021-08-10 18:08:25 +00:00
InstanceID.asm.vert
InstanceID.glsl
InstanceID.metal One function for computing rt-adjust uniform once flip is determined. 2021-06-02 19:02:06 +00:00
InterfaceBlockNamed.asm.frag Revert "Revert "Added more RelaxedPrecision decorations"" 2021-03-23 19:34:42 +00:00
InterfaceBlockNamed.glsl
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
InterfaceBlockNamedArray.metal Revert "Only include header once in combined MSL shader." 2021-03-16 14:44:25 +00:00
Matrices.asm.frag Simplify SPIR-V matrix construction logic. 2021-07-09 13:32:36 +00:00
Matrices.glsl Fix comma operator support with matrices in Metal. 2021-05-20 18:08:35 +00:00
Matrices.metal Reland "Fix array-of-matrix/struct comparisons in Metal." 2021-08-10 21:05:20 +00:00
MatricesNonsquare.asm.frag Simplify SPIR-V matrix construction logic. 2021-07-09 13:32:36 +00:00
MatricesNonsquare.glsl Add GLSL workaround for 4x2 diagonal matrix bug. 2021-05-18 22:50:19 +00:00
MatricesNonsquare.metal Reland "Fix array-of-matrix/struct comparisons in Metal." 2021-08-10 21:05:20 +00:00
MatrixEquality.asm.frag Simplify SPIR-V matrix construction logic. 2021-07-09 13:32:36 +00:00
MatrixEquality.glsl Revert "Inline functions of the form 'return (expr)' only." 2021-03-15 22:08:48 +00:00
MatrixEquality.metal Reland "Fix array-of-matrix/struct comparisons in Metal." 2021-08-10 21:05:20 +00:00
MatrixScalarSplat.asm.frag Simplify SPIR-V matrix construction logic. 2021-07-09 13:32:36 +00:00
MatrixScalarSplat.glsl Enable proper testing of matrix-scalar ops. 2021-05-17 17:36:22 +00:00
MatrixScalarSplat.metal Reland "Fix array-of-matrix/struct comparisons in Metal." 2021-08-10 21:05:20 +00:00
MatrixToVectorCast.asm.frag Shore up matrix/vector conversion tests. 2021-07-12 15:02:51 +00:00
MatrixToVectorCast.glsl Shore up matrix/vector conversion tests. 2021-07-12 15:02:51 +00:00
MatrixToVectorCast.metal Honor component type in Metal matrix helper functions. 2021-08-16 14:34:15 +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 One function for computing rt-adjust uniform once flip is determined. 2021-06-02 19:02:06 +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 One function for computing rt-adjust uniform once flip is determined. 2021-06-02 19:02:06 +00:00
NormalizationGeo.asm.geom
NormalizationGeo.glsl
NormalizationGeo.metal
NormalizationVert.asm.vert Represent vector-cast constructors with ConstructorVectorCast. 2021-04-05 16:28:06 +00:00
NormalizationVert.glsl
NormalizationVert.metal One function for computing rt-adjust uniform once flip is determined. 2021-06-02 19:02:06 +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
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 Avoid short/ushort in MSL code generator. 2021-08-10 18:08:25 +00:00
Offset.asm.frag Revert "Revert "Added more RelaxedPrecision decorations"" 2021-03-23 19:34:42 +00:00
Offset.glsl
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
Ossfuzz36770.asm.frag Increase baked-in offset of RTFlip in skslc. 2021-08-12 21:04:45 +00:00
Ossfuzz36770.glsl Fix for fuzzer-discovered error in SPIR-V with RTFlip. 2021-08-02 17:13:50 +00:00
Ossfuzz36770.metal Fix for fuzzer-discovered error in SPIR-V with RTFlip. 2021-08-02 17:13:50 +00:00
Ossfuzz36852.asm.frag Fix fuzzer-discovered error with swizzling matrices. 2021-08-05 21:59:23 +00:00
Ossfuzz36852.glsl Fix fuzzer-discovered error with swizzling matrices. 2021-08-05 21:59:23 +00:00
Ossfuzz36852.metal Honor component type in Metal matrix helper functions. 2021-08-16 14:34:15 +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
Overflow.asm.frag Prevent overflow of integral types during constant-folding. 2021-05-27 20:12:57 +00:00
Overflow.glsl Prevent overflow of integral types during constant-folding. 2021-05-27 20:12:57 +00:00
Overflow.metal Avoid short/ushort in MSL code generator. 2021-08-10 18:08:25 +00:00
RectangleTexture.asm.frag Revert "Revert "Refactored SPIR-V RelaxedPrecision handling"" 2021-03-18 15:01:15 +00:00
RectangleTexture.glsl
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
ReturnBadTypeFromMain.metal
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
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 One function for computing rt-adjust uniform once flip is determined. 2021-06-02 19:02:06 +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
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
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
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
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 Reland "Fix array-of-matrix/struct comparisons in Metal." 2021-08-10 21:05:20 +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
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 Add scalar-swizzling tests for int and bool types. 2021-07-12 19:54:40 +00:00
SwizzleScalar.glsl Add scalar-swizzling tests for int and bool types. 2021-07-12 19:54:40 +00:00
SwizzleScalar.metal Add scalar-swizzling tests for int and bool types. 2021-07-12 19:54:40 +00:00
SwizzleScalarBool.asm.frag Allow swizzles on Boolean scalar expressions. 2021-07-12 20:33:10 +00:00
SwizzleScalarBool.glsl Allow swizzles on Boolean scalar expressions. 2021-07-12 20:33:10 +00:00
SwizzleScalarBool.metal Allow swizzles on Boolean scalar expressions. 2021-07-12 20:33:10 +00:00
SwizzleScalarInt.asm.frag Add scalar-swizzling tests for int and bool types. 2021-07-12 19:54:40 +00:00
SwizzleScalarInt.glsl Add scalar-swizzling tests for int and bool types. 2021-07-12 19:54:40 +00:00
SwizzleScalarInt.metal Add scalar-swizzling tests for int and bool types. 2021-07-12 19:54:40 +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
Texture1D.metal
Texture2D.asm.frag Revert "Revert "Added more RelaxedPrecision decorations"" 2021-03-23 19:34:42 +00:00
Texture2D.glsl
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
TextureSharpen.metal
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
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
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
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
VectorToMatrixCast.asm.frag Shore up matrix/vector conversion tests. 2021-07-12 15:02:51 +00:00
VectorToMatrixCast.glsl Shore up matrix/vector conversion tests. 2021-07-12 15:02:51 +00:00
VectorToMatrixCast.metal Reland "Fix array-of-matrix/struct comparisons in Metal." 2021-08-10 21:05:20 +00:00
VertexEarlyReturn.asm.vert Represent vector-cast constructors with ConstructorVectorCast. 2021-04-05 16:28:06 +00:00
VertexEarlyReturn.glsl
VertexEarlyReturn.metal One function for computing rt-adjust uniform once flip is determined. 2021-06-02 19:02:06 +00:00
VertexID.asm.vert
VertexID.glsl
VertexID.metal One function for computing rt-adjust uniform once flip is determined. 2021-06-02 19:02:06 +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
WhileLoopControlFlow.metal Revert "Only include header once in combined MSL shader." 2021-03-16 14:44:25 +00:00