aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/sksl/README
diff options
context:
space:
mode:
authorGravatar Ethan Nicholas <ethannicholas@google.com>2017-10-25 15:55:58 -0400
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2017-10-25 20:19:18 +0000
commit8aa4dc9052a64d84cfd0a4330910057bd37b6bf7 (patch)
tree5b8c084ed43b6f10e6014a2fc2959e84c4be3c5b /src/sksl/README
parent4cbb6e6d551e8bea2c040b1aa9dce253cffb9af0 (diff)
converted OverdrawColorFilter to SkSL
Bug: skia: Change-Id: Idcc0502758df1e60ed131a168b5c9a65a4d834a1 Reviewed-on: https://skia-review.googlesource.com/63840 Commit-Queue: Ethan Nicholas <ethannicholas@google.com> Reviewed-by: Brian Salomon <bsalomon@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'.