116d2e0e48
SkSL treated these two functions as distinct, even though they are not: void func(in float x); void func(float x); The `in` modifier on a function parameter is the default state, making these two prototypes functionally identical. We now strip off an `in` modifier on a function definition. This gives us three potential states for each param: nothing (meaning `in`), `out`, and `inout`. Change-Id: Id2acb53ecaca98f86a7f6a83e0b9a375f9abe2b8 Bug: skia:12525 Reviewed-on: https://skia-review.googlesource.com/c/skia/+/458257 Commit-Queue: John Stiles <johnstiles@google.com> Commit-Queue: Brian Osman <brianosman@google.com> Auto-Submit: John Stiles <johnstiles@google.com> Reviewed-by: Brian Osman <brianosman@google.com> |
||
---|---|---|
.. | ||
AllowNarrowingConversions.skvm | ||
AllowNarrowingConversions.stage | ||
ArrayIndexing.skvm | ||
ArrayIndexing.stage | ||
ArrayNarrowingConversions.skvm | ||
ArrayNarrowingConversions.stage | ||
Blend.skvm | ||
Blend.stage | ||
ConstPreservation.skvm | ||
ConstPreservation.stage | ||
ConversionConstructors.skvm | ||
ConversionConstructors.stage | ||
GlobalVariables.skvm | ||
GlobalVariables.stage | ||
GLSLTypeNames.skvm | ||
GLSLTypeNames.stage | ||
LargeProgram_BlocklessLoops.skvm | ||
LargeProgram_BlocklessLoops.stage | ||
LargeProgram_FlatLoop.skvm | ||
LargeProgram_FlatLoop.stage | ||
LargeProgram_Functions.skvm | ||
LargeProgram_Functions.stage | ||
LargeProgram_NestedLoops.skvm | ||
LargeProgram_NestedLoops.stage | ||
LargeProgram_SplitLoops.skvm | ||
LargeProgram_SplitLoops.stage | ||
LargeProgram_StackDepth.skvm | ||
LargeProgram_StackDepth.stage | ||
LargeProgram_ZeroIterFor.skvm | ||
LargeProgram_ZeroIterFor.stage | ||
LoopFloat.skvm | ||
LoopFloat.stage | ||
LoopInt.skvm | ||
LoopInt.stage | ||
PrecisionQualifiers.skvm | ||
PrecisionQualifiers.stage | ||
QualifierOrder.skvm | ||
QualifierOrder.stage | ||
SampleWithExplicitCoord.skvm | ||
SampleWithExplicitCoord.stage | ||
Switch.skvm | ||
Switch.stage | ||
SwitchDefaultOnly.skvm | ||
SwitchDefaultOnly.stage | ||
SwitchWithFallthrough.skvm | ||
SwitchWithFallthrough.stage | ||
SwitchWithLoops.skvm | ||
SwitchWithLoops.stage | ||
VectorIndexing.skvm | ||
VectorIndexing.stage |