skia2/tests/sksl/shared
John Stiles f1ce6faf29 Fix for loops with multiple init-variables in GLSL.
When a Block is detected in the for loop's init-statement, we now
synthesize a scope and write the init-statement directly above the for
loop and leave the for loop's init-stmt section empty.

Change-Id: I3e89c6a4328a79e49b8a19faae7975629cd0e152
Bug: skia:11860
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/396820
Reviewed-by: Ethan Nicholas <ethannicholas@google.com>
Commit-Queue: Ethan Nicholas <ethannicholas@google.com>
Commit-Queue: John Stiles <johnstiles@google.com>
Auto-Submit: John Stiles <johnstiles@google.com>
2021-04-14 21:40:19 +00:00
..
ArrayComparison.asm.frag Implement array == and != on SPIR-V. 2021-04-09 15:33:57 +00:00
ArrayComparison.glsl Implement array == and != on SPIR-V. 2021-04-09 15:33:57 +00:00
ArrayComparison.metal Implement array == and != on SPIR-V. 2021-04-09 15:33:57 +00:00
ArrayConstructors.asm.frag Mangle function names in SPIR-V. 2021-03-22 17:32:46 +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 "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 Revert "Revert "Added more RelaxedPrecision decorations"" 2021-03-23 19:34:42 +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 Revert "Revert "Added more RelaxedPrecision decorations"" 2021-03-23 19:34:42 +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 Mangle function names in SPIR-V. 2021-03-22 17:32:46 +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 "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 Revert "Revert "Added more RelaxedPrecision decorations"" 2021-03-23 19:34:42 +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 "Revert "Added more RelaxedPrecision decorations"" 2021-03-23 19:34:42 +00:00
CommaSideEffects.glsl Mangle function names in GLSL. 2021-03-22 17:18:26 +00:00
CommaSideEffects.metal Mangle function names in Metal. 2021-03-22 17:23:21 +00:00
ComplexDelete.asm.frag Revert "Revert "Refactored SPIR-V RelaxedPrecision handling"" 2021-03-18 15:01:15 +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 Mangle function names in SPIR-V. 2021-03-22 17:32:46 +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 "Revert "Added more RelaxedPrecision decorations"" 2021-03-23 19:34:42 +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 Mangle function names in SPIR-V. 2021-03-22 17:32:46 +00:00
ConstVariableComparison.glsl Eliminate unused local variables during SkSL optimization. 2021-03-16 17:22:53 +00:00
ConstVariableComparison.metal Eliminate unused local variables during SkSL optimization. 2021-03-16 17:22:53 +00:00
Control.asm.frag Revert "Revert "Added more RelaxedPrecision decorations"" 2021-03-23 19:34:42 +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 "Revert "Added more RelaxedPrecision decorations"" 2021-03-23 19:34:42 +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 Mangle function names in SPIR-V. 2021-03-22 17:32:46 +00:00
DeadIfStatement.glsl Eliminate unused local variables during SkSL optimization. 2021-03-16 17:22:53 +00:00
DeadIfStatement.metal Eliminate unused local variables during SkSL optimization. 2021-03-16 17:22:53 +00:00
DeadLoopVariable.asm.frag Mangle function names in SPIR-V. 2021-03-22 17:32:46 +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 "Revert "Added more RelaxedPrecision decorations"" 2021-03-23 19:34:42 +00:00
DeadStripFunctions.glsl Mangle function names in GLSL. 2021-03-22 17:18:26 +00:00
DeadStripFunctions.metal Mangle function names in Metal. 2021-03-22 17:23:21 +00:00
DependentInitializers.asm.frag Mangle function names in SPIR-V. 2021-03-22 17:32:46 +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 "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 Revert "Revert "Added more RelaxedPrecision decorations"" 2021-03-23 19:34:42 +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 "Revert "Added more RelaxedPrecision decorations"" 2021-03-23 19:34:42 +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 "Revert "Added more RelaxedPrecision decorations"" 2021-03-23 19:34:42 +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 "Revert "Added more RelaxedPrecision decorations"" 2021-03-23 19:34:42 +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 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 Revert "Revert "Added more RelaxedPrecision decorations"" 2021-03-23 19:34:42 +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
ForLoopMultipleInit.asm.frag Add unit test for for-loop with multiple variables. 2021-04-14 20:23:35 +00:00
ForLoopMultipleInit.glsl Fix for loops with multiple init-variables in GLSL. 2021-04-14 21:40:19 +00:00
ForLoopMultipleInit.metal Fix for loops with multiple init-variables in Metal. 2021-04-14 20:47:48 +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 Mangle function names in SPIR-V. 2021-03-22 17:32:46 +00:00
FunctionArgTypeMatch.glsl Mangle function names in GLSL. 2021-03-22 17:18:26 +00:00
FunctionArgTypeMatch.metal Mangle function names in Metal. 2021-03-22 17:23:21 +00:00
FunctionPrototype.asm.frag Mangle function names in SPIR-V. 2021-03-22 17:32:46 +00:00
FunctionPrototype.glsl Mangle function names in GLSL. 2021-03-22 17:18:26 +00:00
FunctionPrototype.metal Mangle function names in Metal. 2021-03-22 17:23:21 +00:00
FunctionReturnTypeMatch.asm.frag Revert "Revert "Added more RelaxedPrecision decorations"" 2021-03-23 19:34:42 +00:00
FunctionReturnTypeMatch.glsl Mangle function names in GLSL. 2021-03-22 17:18:26 +00:00
FunctionReturnTypeMatch.metal Mangle function names in Metal. 2021-03-22 17:23:21 +00:00
Functions.asm.frag Mangle function names in SPIR-V. 2021-03-22 17:32:46 +00:00
Functions.glsl Mangle function names in GLSL. 2021-03-22 17:18:26 +00:00
Functions.metal Mangle function names in Metal. 2021-03-22 17:23:21 +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 Mangle function names in SPIR-V. 2021-03-22 17:32:46 +00:00
GeometricIntrinsics.glsl Eliminate unused local variables during SkSL optimization. 2021-03-16 17:22:53 +00:00
GeometricIntrinsics.metal Eliminate unused local variables during SkSL optimization. 2021-03-16 17:22:53 +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 Revert "Revert "Added more RelaxedPrecision decorations"" 2021-03-23 19:34:42 +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 Mangle function names in SPIR-V. 2021-03-22 17:32:46 +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 "Revert "Added more RelaxedPrecision decorations"" 2021-03-23 19:34:42 +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 "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 Revert "Revert "Added more RelaxedPrecision decorations"" 2021-03-23 19:34:42 +00:00
Matrices.glsl Mangle function names in GLSL. 2021-03-22 17:18:26 +00:00
Matrices.metal Mangle function names in Metal. 2021-03-22 17:23:21 +00:00
MatricesNonsquare.asm.frag Fix SPIR-V error when creating non-square diagonal matrices. 2021-04-09 19:15:07 +00:00
MatricesNonsquare.glsl Mangle function names in GLSL. 2021-03-22 17:18:26 +00:00
MatricesNonsquare.metal Mangle function names in Metal. 2021-03-22 17:23:21 +00:00
MatrixEquality.asm.frag Mangle function names in SPIR-V. 2021-03-22 17:32:46 +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 "Revert "Added more RelaxedPrecision decorations"" 2021-03-23 19:34:42 +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 "Revert "Added more RelaxedPrecision decorations"" 2021-03-23 19:34:42 +00:00
NegatedVectorLiteral.glsl Mangle function names in GLSL. 2021-03-22 17:18:26 +00:00
NegatedVectorLiteral.metal Mangle function names in Metal. 2021-03-22 17:23:21 +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 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 Revert "Only include header once in combined MSL shader." 2021-03-16 14:44:25 +00:00
NumberCasts.asm.frag Revert "Revert "Added more RelaxedPrecision decorations"" 2021-03-23 19:34:42 +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 "Revert "Added more RelaxedPrecision decorations"" 2021-03-23 19:34:42 +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 "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 Mangle function names in SPIR-V. 2021-03-22 17:32:46 +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 Mangle function names in SPIR-V. 2021-03-22 17:32:46 +00:00
OperatorsES3.glsl Eliminate unused local variables during SkSL optimization. 2021-03-16 17:22:53 +00:00
OperatorsES3.metal Eliminate unused local variables during SkSL optimization. 2021-03-16 17:22:53 +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 Revert "Revert "Added more RelaxedPrecision decorations"" 2021-03-23 19:34:42 +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 "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 Revert "Revert "Added more RelaxedPrecision decorations"" 2021-03-23 19:34:42 +00:00
OutParams.glsl Mangle function names in GLSL. 2021-03-22 17:18:26 +00:00
OutParams.metal Mangle function names in Metal. 2021-03-22 17:23:21 +00:00
OutParamsNoInline.asm.frag Revert "Revert "Added more RelaxedPrecision decorations"" 2021-03-23 19:34:42 +00:00
OutParamsNoInline.glsl Mangle function names in GLSL. 2021-03-22 17:18:26 +00:00
OutParamsNoInline.metal Mangle function names in Metal. 2021-03-22 17:23:21 +00:00
OutParamsTricky.asm.frag Revert "Revert "Added more RelaxedPrecision decorations"" 2021-03-23 19:34:42 +00:00
OutParamsTricky.glsl Mangle function names in GLSL. 2021-03-22 17:18:26 +00:00
OutParamsTricky.metal Mangle function names in Metal. 2021-03-22 17:23:21 +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 Fix matrix resizing in SPIR-V. 2021-04-06 14:55:45 +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 Fix SPIR-V error when creating non-square diagonal matrices. 2021-04-09 19:15:07 +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 "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 Revert "Revert "Added more RelaxedPrecision decorations"" 2021-03-23 19:34:42 +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 Mangle function names in SPIR-V. 2021-03-22 17:32:46 +00:00
ReturnsValueOnEveryPathES2.glsl Mangle function names in GLSL. 2021-03-22 17:18:26 +00:00
ReturnsValueOnEveryPathES2.metal Mangle function names in Metal. 2021-03-22 17:23:21 +00:00
ReturnsValueOnEveryPathES3.asm.frag Mangle function names in SPIR-V. 2021-03-22 17:32:46 +00:00
ReturnsValueOnEveryPathES3.glsl Mangle function names in GLSL. 2021-03-22 17:18:26 +00:00
ReturnsValueOnEveryPathES3.metal Mangle function names in Metal. 2021-03-22 17:23:21 +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 Revert "Only include header once in combined MSL shader." 2021-03-16 14:44:25 +00:00
ScalarConversionConstructorsES2.asm.frag Revert "Revert "Added more RelaxedPrecision decorations"" 2021-03-23 19:34:42 +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 "Revert "Added more RelaxedPrecision decorations"" 2021-03-23 19:34:42 +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 "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 Mangle function names in SPIR-V. 2021-03-22 17:32:46 +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 "Revert "Added more RelaxedPrecision decorations"" 2021-03-23 19:34:42 +00:00
StaticIf.glsl Eliminate unused local variables during SkSL optimization. 2021-03-16 17:22:53 +00:00
StaticIf.metal Eliminate unused local variables during SkSL optimization. 2021-03-16 17:22:53 +00:00
StaticSwitch.asm.frag Revert "Revert "Added more RelaxedPrecision decorations"" 2021-03-23 19:34:42 +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 "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 Revert "Revert "Added more RelaxedPrecision decorations"" 2021-03-23 19:34:42 +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 "Revert "Added more RelaxedPrecision decorations"" 2021-03-23 19:34:42 +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 Mangle function names in SPIR-V. 2021-03-22 17:32:46 +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 "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 Revert "Only include header once in combined MSL shader." 2021-03-16 14:44:25 +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 Add support for struct constructors to SkSL. 2021-04-09 13:54:16 +00:00
StructsInFunctions.glsl Add support for struct constructors to SkSL. 2021-04-09 13:54:16 +00:00
StructsInFunctions.metal Add support for struct constructors to SkSL. 2021-04-09 13:54:16 +00:00
Switch.asm.frag Revert "Revert "Added more RelaxedPrecision decorations"" 2021-03-23 19:34:42 +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 "Revert "Added more RelaxedPrecision decorations"" 2021-03-23 19:34:42 +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 "Revert "Added more RelaxedPrecision decorations"" 2021-03-23 19:34:42 +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 "Revert "Added more RelaxedPrecision decorations"" 2021-03-23 19:34:42 +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 "Revert "Added more RelaxedPrecision decorations"" 2021-03-23 19:34:42 +00:00
SwizzleByConstantIndex.glsl Eliminate unused local variables during SkSL optimization. 2021-03-16 17:22:53 +00:00
SwizzleByConstantIndex.metal Eliminate unused local variables during SkSL optimization. 2021-03-16 17:22:53 +00:00
SwizzleByIndex.asm.frag Revert "Revert "Added more RelaxedPrecision decorations"" 2021-03-23 19:34:42 +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 "Revert "Added more RelaxedPrecision decorations"" 2021-03-23 19:34:42 +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 "Revert "Added more RelaxedPrecision decorations"" 2021-03-23 19:34:42 +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 "Revert "Added more RelaxedPrecision decorations"" 2021-03-23 19:34:42 +00:00
SwizzleOpt.glsl Mangle function names in GLSL. 2021-03-22 17:18:26 +00:00
SwizzleOpt.metal Mangle function names in Metal. 2021-03-22 17:23:21 +00:00
SwizzleScalar.asm.frag Revert "Revert "Added more RelaxedPrecision decorations"" 2021-03-23 19:34:42 +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 "Revert "Added more RelaxedPrecision decorations"" 2021-03-23 19:34:42 +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 "Revert "Added more RelaxedPrecision decorations"" 2021-03-23 19:34:42 +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 "Revert "Added more RelaxedPrecision decorations"" 2021-03-23 19:34:42 +00:00
TernaryExpression.glsl Eliminate unused local variables during SkSL optimization. 2021-03-16 17:22:53 +00:00
TernaryExpression.metal Eliminate unused local variables during SkSL optimization. 2021-03-16 17:22:53 +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 Revert "Revert "Added more RelaxedPrecision decorations"" 2021-03-23 19:34:42 +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 "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 Revert "Only include header once in combined MSL shader." 2021-03-16 14:44:25 +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 Revert "Revert "Added more RelaxedPrecision decorations"" 2021-03-23 19:34:42 +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 "Revert "Added more RelaxedPrecision decorations"" 2021-03-23 19:34:42 +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 Represent vector-cast constructors with ConstructorVectorCast. 2021-04-05 16:28:06 +00:00
VectorConstructors.glsl Represent vector-cast constructors with ConstructorVectorCast. 2021-04-05 16:28:06 +00:00
VectorConstructors.metal Represent vector-cast constructors with ConstructorVectorCast. 2021-04-05 16:28:06 +00:00
VectorScalarMath.asm.frag Convert division-by-literal in SPIR-V to multiplication. 2021-03-26 02:30:54 +00:00
VectorScalarMath.glsl Add SkSL test for vector-scalar math. 2021-03-25 23:30:34 +00:00
VectorScalarMath.metal Add SkSL test for vector-scalar math. 2021-03-25 23:30:34 +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 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 "Revert "Added more RelaxedPrecision decorations"" 2021-03-23 19:34:42 +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