skia2/resources/sksl/shared
John Stiles 38df4c8470 Revert "Improve support for arrays in Metal."
This reverts commit dd904af566.

Reason for revert: breaks ANGLE

Original change's description:
> Improve support for arrays in Metal.
>
> Arrays in Metal now use the `array<T, N>` type instead of the C-style
> `T[N]` type. This gives them semantics much more in line with GLSL,
> so they can be initialized and assigned like GLSL arrays.
>
> This allows the ArrayTypes and Assignment tests to pass, so they have
> been added to our dm SkSL tests. (ArrayConstructors also passes, but
> is not ES2-compliant so it is not enabled.)
>
> Change-Id: Id1028311963084befd0e044e11e223af6a064dda
> Bug: skia:10761, skia:10760, skia:11022, skia:10939
> Reviewed-on: https://skia-review.googlesource.com/c/skia/+/365699
> Commit-Queue: John Stiles <johnstiles@google.com>
> Auto-Submit: John Stiles <johnstiles@google.com>
> Reviewed-by: Brian Osman <brianosman@google.com>

TBR=brianosman@google.com,ethannicholas@google.com,johnstiles@google.com

Change-Id: If6a18dea7d6a45fa7836e9129bf81c2e536f07e3
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Bug: skia:10761
Bug: skia:10760
Bug: skia:11022
Bug: skia:10939
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/365976
Reviewed-by: John Stiles <johnstiles@google.com>
Commit-Queue: John Stiles <johnstiles@google.com>
2021-02-04 00:50:34 +00:00
..
ArrayConstructors.sksl Revert "Improve support for arrays in Metal." 2021-02-04 00:50:34 +00:00
ArrayIndexTypes.sksl
ArrayTypes.sksl Revert "Improve support for arrays in Metal." 2021-02-04 00:50:34 +00:00
Assignment.sksl Revert "Improve support for arrays in Metal." 2021-02-04 00:50:34 +00:00
Caps.sksl
CastsRoundTowardZero.sksl Migrate more SkSL tests to run in dm. 2021-02-03 23:45:15 +00:00
Clockwise.sksl
CommaMixedTypes.sksl Add more dm tests for the comma operator. 2021-02-03 01:28:48 +00:00
CommaSideEffects.sksl Add test to verify side effects from the comma operator. 2021-02-01 16:16:58 +00:00
ComplexDelete.sksl
ConstantIf.sksl Update various shared/ tests to run in dm. 2021-02-01 22:06:59 +00:00
ConstArray.sksl
ConstVariableComparison.sksl Update various shared/ tests to run in dm. 2021-02-01 22:06:59 +00:00
Control.sksl
DeadDoWhileLoop.sksl
DeadIfStatement.sksl Update various shared/ tests to run in dm. 2021-02-01 22:06:59 +00:00
DeadLoopVariable.sksl Migrate more SkSL tests to run in dm. 2021-02-03 23:45:15 +00:00
DeadStripFunctions.sksl Update various shared/ tests to run in dm. 2021-02-01 22:06:59 +00:00
DependentInitializers.sksl Update various shared/ tests to run in dm. 2021-02-01 22:06:59 +00:00
Derivatives.sksl
DerivativesFlipY.sksl
DerivativesUnused.sksl
Discard.sksl
DoWhileControlFlow.sksl
EmptyBlocksES2.sksl Update various shared/ tests to run in dm. 2021-02-01 22:06:59 +00:00
EmptyBlocksES3.sksl Update various shared/ tests to run in dm. 2021-02-01 22:06:59 +00:00
Enum.sksl
ForLoopControlFlow.sksl Reland "Add SkSL for-loop control flow test to dm." 2021-01-27 15:46:39 +00:00
FragCoordsFlipY.sksl
FragCoordsNew.sksl
FragCoordsOld.sksl
FunctionArgTypeMatch.sksl Update function-type-matching tests to work as Runtime Effects. 2021-02-02 13:47:35 +00:00
FunctionPrototype.sksl Migrate more SkSL tests to run in dm. 2021-02-03 23:45:15 +00:00
FunctionReturnTypeMatch.sksl Update function-type-matching tests to work as Runtime Effects. 2021-02-02 13:47:35 +00:00
Functions.sksl Migrate more SkSL tests to run in dm. 2021-02-03 23:45:15 +00:00
GaussianBlur.sksl
GeometricIntrinsics.sksl Migrate more SkSL tests to run in dm. 2021-02-03 23:45:15 +00:00
Geometry.geom
GeometryExtension.geom
GeometryGSInvocations.geom
GeometryNoGSInvocations.geom
GeometryNoGSInvocationsReorder.geom
Height.sksl
HelloWorld.sksl Migrate more SkSL tests to run in dm. 2021-02-03 23:45:15 +00:00
Hex.sksl Migrate more SkSL tests to run in dm. 2021-02-03 23:45:15 +00:00
HexUnsigned.sksl Migrate more SkSL tests to run in dm. 2021-02-03 23:45:15 +00:00
InstanceID.vert
InterfaceBlockNamed.sksl
InterfaceBlockNamedArray.sksl Add default uniform binding value for Metal/SPIR-V. 2021-01-28 19:23:49 +00:00
Matrices.sksl Migrate matrix SkSL test to dm. 2021-02-03 20:42:57 +00:00
MatricesNonsquare.sksl Migrate matrix SkSL test to dm. 2021-02-03 20:42:57 +00:00
MultipleAssignments.sksl
NegatedVectorLiteral.sksl
NoFragCoordsPos.vert
NoFragCoordsPosRT.vert
NormalizationGeo.geom
NormalizationVert.vert
NumberCasts.sksl
NumberConversions.sksl
Offset.sksl
OperatorsES2.sksl Avoid comma usage in Operators test. 2021-02-02 14:34:24 +00:00
OperatorsES3.sksl Run the SkSL Operators test as a Runtime Effect. 2021-02-01 17:21:33 +00:00
Ossfuzz26167.sksl
Ossfuzz27614.sksl
Ossfuzz28050.sksl
Ossfuzz28794.sksl
Ossfuzz28904.sksl
Ossfuzz29444.sksl
Ossfuzz29494.sksl Use unsigned values when constant-folding integer vectors 2021-02-01 21:44:28 +00:00
OutParams.sksl
OutParamsTricky.sksl
RectangleTexture.sksl
ResizeMatrix.sksl
ReturnBadTypeFromMain.sksl Support half4 return values from main() in the SPIR-V code generator. 2021-01-27 02:46:03 +00:00
ReturnColorFromMain.sksl Support half4 return values from main() in the SPIR-V code generator. 2021-01-27 02:46:03 +00:00
SampleLocations.vert
SampleMask.sksl
ScalarConversionConstructors.sksl
ScopedSymbol.sksl
StackingVectorCasts.sksl
StaticIf.sksl
StaticSwitch.sksl
StaticSwitchWithBreak.sksl
StaticSwitchWithBreakInsideBlock.sksl
StaticSwitchWithConditionalBreak.sksl
StaticSwitchWithConditionalBreakInsideBlock.sksl
StaticSwitchWithFallthroughA.sksl
StaticSwitchWithFallthroughB.sksl
StaticSwitchWithStaticConditionalBreak.sksl
StaticSwitchWithStaticConditionalBreakInsideBlock.sksl
StructMaxDepth.sksl
Structs.sksl
StructsInFunctions.sksl Add SkSL test for functions that operate on structs 2021-01-28 17:01:59 +00:00
Switch.sksl
SwitchContainingDeadCode.sksl
SwitchWithFallthrough.sksl
SwizzleBoolConstants.sksl
SwizzleByIndex.sksl
SwizzleConstants.sksl
SwizzleLTRB.sksl
SwizzleOpt.sksl
SwizzleScalar.sksl
TernaryAsLValueEntirelyFoldable.sksl
TernaryAsLValueFoldableTest.sksl
Texture1D.sksl
Texture2D.sksl
TextureSharpen.sksl
UnaryPositiveNegative.sksl
UniformArray.sksl Add default uniform set value to SkSL Program settings. 2021-01-27 00:52:16 +00:00
UniformBuffers.sksl Add default uniform binding value for Metal/SPIR-V. 2021-01-28 19:23:49 +00:00
Uniforms.sksl Add default uniform binding value for Metal/SPIR-V. 2021-01-28 19:23:49 +00:00
UnusedVariables.sksl
VectorConstructors.sksl
VertexEarlyReturn.vert
VertexID.vert
WhileLoopControlFlow.sksl Add unit test for control statements in while loops. 2021-01-26 17:07:36 +00:00
Width.sksl