aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/sksl/README
diff options
context:
space:
mode:
authorGravatar Ethan Nicholas <ethannicholas@google.com>2017-09-26 14:23:59 -0400
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2017-09-26 19:17:46 +0000
commitbed683addbd2f31da05dc19f24f3257bee30ee8c (patch)
tree9aca6c54e84244393aced6d32fa9f855145445b5 /src/sksl/README
parente9242ca695a390445690cb32f67eedef85f54099 (diff)
switched gl_Position and gl_PointSize to sk_*
Bug: skia: Change-Id: Ie7508991aa975c1400bac23ae49d81041a313968 Reviewed-on: https://skia-review.googlesource.com/51320 Reviewed-by: Greg Daniel <egdaniel@google.com> Commit-Queue: Ethan Nicholas <ethannicholas@google.com>
Diffstat (limited to 'src/sksl/README')
-rw-r--r--src/sksl/README2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/sksl/README b/src/sksl/README
index 40bdf1e329..c8fba509c5 100644
--- a/src/sksl/README
+++ b/src/sksl/README
@@ -38,6 +38,8 @@ Differences from GLSL
'do_something_else();', depending on whether that cap is enabled or not.
* no #version statement is required, and it will be ignored if present
* the output color is sk_FragColor (do not declare it)
+* use sk_Position instead of gl_Position
+* use sk_PointSize instead of gl_PointSize
* use sk_VertexID instead of gl_VertexID
* the fragment coordinate is sk_FragCoord, and is always relative to the upper
left.