diff options
author | Ethan Nicholas <ethannicholas@google.com> | 2017-07-11 14:35:28 -0400 |
---|---|---|
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | 2017-07-12 13:28:25 +0000 |
commit | 46b654df9e70bbfacf6dc45d3a2a7ceb13a61edb (patch) | |
tree | 1df670da50b5c02defe6507cb87f2a213a801750 /src/sksl/README | |
parent | 6ee29658202a0bd8394df5daed8db30321c01cc9 (diff) |
converted GrSimpleTextureEffect to sksl
Bug: skia:
Change-Id: If556c6baad75f22135f429759feabaaec095b900
Reviewed-on: https://skia-review.googlesource.com/21720
Commit-Queue: Ethan Nicholas <ethannicholas@google.com>
Reviewed-by: Greg Daniel <egdaniel@google.com>
Diffstat (limited to 'src/sksl/README')
-rw-r--r-- | src/sksl/README | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/sksl/README b/src/sksl/README index c2718adf3e..f590bbeae2 100644 --- a/src/sksl/README +++ b/src/sksl/README @@ -89,6 +89,11 @@ Within an '.fp' fragment processor file: the name of the GrGLSLProgramDataManager) @test(<testData>) (the body of the TestCreate function, where <testData> is the name of the GrProcessorTestData* parameter) + @coordTransform(<sampler>) + (the matrix to attach to the named sampler2D's + GrCoordTransform) + @samplerParams(<sampler>) + (the sampler params to attach to the named sampler2D) * global 'in' variables represent data passed to the fragment processor at construction time. These variables become constructor parameters and are stored in fragment processor fields. vec2s map to SkPoints, and vec4s map to |