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.rts | ||
ArrayIndexing.rts | ||
ArrayNarrowingConversions.rts | ||
Blend.rtb | ||
ConstPreservation.rts | ||
ConversionConstructors.rts | ||
GlobalVariables.rts | ||
GLSLTypeNames.rts | ||
LargeProgram_BlocklessLoops.rts | ||
LargeProgram_FlatLoop.rts | ||
LargeProgram_Functions.rts | ||
LargeProgram_NestedLoops.rts | ||
LargeProgram_SplitLoops.rts | ||
LargeProgram_StackDepth.rts | ||
LargeProgram_ZeroIterFor.rts | ||
LoopFloat.rts | ||
LoopInt.rts | ||
PrecisionQualifiers.rts | ||
QualifierOrder.rts | ||
SampleWithExplicitCoord.rts | ||
Switch.rts | ||
SwitchDefaultOnly.rts | ||
SwitchWithFallthrough.rts | ||
SwitchWithLoops.rts | ||
VectorIndexing.rts |