diff options
author | 2017-02-09 17:04:23 +0000 | |
---|---|---|
committer | 2017-02-09 17:04:41 +0000 | |
commit | 49a36ba6234168ef3b591f55810c22bf0fe1c2e4 (patch) | |
tree | 60b2b43588f9b100adc9574bbb3c56e633dc61b7 /src/sksl/README | |
parent | 90e3cd78991ef337dbd0023efb30ece864694308 (diff) |
Revert "skslc type constructor cleanups"
This reverts commit 6f223283661c1ddc4a5334d2464804c6b6ba3ffa.
Reason for revert: bot breakage
Original change's description:
> skslc type constructor cleanups
>
> BUG=skia:
>
> Change-Id: I87108b5e107419d99c996ef032eda512a68451ab
> Reviewed-on: https://skia-review.googlesource.com/8117
> Commit-Queue: Greg Daniel <egdaniel@google.com>
> Commit-Queue: Ethan Nicholas <ethannicholas@google.com>
> Reviewed-by: Greg Daniel <egdaniel@google.com>
>
TBR=egdaniel@google.com,ethannicholas@google.com
NOPRESUBMIT=true
NOTREECHECKS=true
NOTRY=true
BUG=skia:
Change-Id: I1c9a8c4c62c7dd0f724f22000507112641d25e3b
Reviewed-on: https://skia-review.googlesource.com/8259
Commit-Queue: Ethan Nicholas <ethannicholas@google.com>
Reviewed-by: Ethan Nicholas <ethannicholas@google.com>
Diffstat (limited to 'src/sksl/README')
-rw-r--r-- | src/sksl/README | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/sksl/README b/src/sksl/README index 98103fa64f..d78953f595 100644 --- a/src/sksl/README +++ b/src/sksl/README @@ -41,9 +41,6 @@ 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 -* creating a smaller vector from a larger vector (e.g. vec2(vec3(1))) is - intentionally disallowed, as it is just a wordier way of performing a swizzle. - Use swizzles instead. * 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 |