aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/sksl/README
diff options
context:
space:
mode:
authorGravatar Ethan Nicholas <ethannicholas@google.com>2017-10-26 09:30:08 -0400
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2017-10-26 14:58:27 +0000
commitd608c09ac5d862568962d63e62e693d22c58f95c (patch)
tree7a5dd9bc7a97dea7fa7720c73e7f9bdf1dac51c9 /src/sksl/README
parentd4e9ec86cf934107cc441f651ee2429078188d02 (diff)
Re-land "converted OverdrawColorFilter to SkSL"
This reverts commit 2d3cac58fcc8f2d398a421b0341c36479a6ba324. Bug: skia: Change-Id: I6607d419f6b30c3e17b52ec5ce67d489bd1ad1dc Reviewed-on: https://skia-review.googlesource.com/64080 Reviewed-by: Ethan Nicholas <ethannicholas@google.com> Commit-Queue: Ethan Nicholas <ethannicholas@google.com>
Diffstat (limited to 'src/sksl/README')
-rw-r--r--src/sksl/README3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/sksl/README b/src/sksl/README
index 1fdf09ffd3..7c2cf04551 100644
--- a/src/sksl/README
+++ b/src/sksl/README
@@ -118,3 +118,6 @@ Within an '.fp' fragment processor file:
the program's key. Matrix variables additionally support 'key=identity',
which causes the key to consider only whether or not the matrix is an
identity matrix.
+* 'float4' / 'half4' variables support an additional 'ctype' layout key,
+ providing the type they should be represented as from within the C++ code.
+ Currently the only two supported ctypes are 'SkRect' and 'SkPMColor'.