diff options
author | 2016-11-28 12:03:26 -0500 | |
---|---|---|
committer | 2016-11-28 17:53:44 +0000 | |
commit | 2b3dab62bccdbf6244aef9103e9e739147af8616 (patch) | |
tree | 989120c1cd65a242045a07ff2e1b4f3b6c9ef521 /src/sksl/README | |
parent | 343b6772b6cf4715ec1e1f7f604289c0c852a2a7 (diff) |
removed textureProj() and legacy texture functions from sksl
BUG=skia:
GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=5120
Change-Id: I21b111d54becaca845134376e54a5a7c0a6cd6c8
Reviewed-on: https://skia-review.googlesource.com/5120
Reviewed-by: Brian Salomon <bsalomon@google.com>
Commit-Queue: Ethan Nicholas <ethannicholas@google.com>
Diffstat (limited to 'src/sksl/README')
-rw-r--r-- | src/sksl/README | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/sksl/README b/src/sksl/README index 0ab8a0500a..d18367f8d2 100644 --- a/src/sksl/README +++ b/src/sksl/README @@ -40,6 +40,8 @@ following differences between SkSL and GLSL: have to be expressed "vec2(x, y) * 4.0". There is no performance penalty for this, as the number is converted to a float at compile time) * type suffixes on numbers (1.0f, 0xFFu) are both unnecessary and unsupported +* Use texture() instead of textureProj(), e.g. texture(sampler2D, vec3) is + equivalent to GLSL's textureProj(sampler2D, vec3) * some built-in functions and one or two rarely-used language features are not yet supported (sorry!) |