diff options
author | Ethan Nicholas <ethannicholas@google.com> | 2018-01-23 16:39:42 -0500 |
---|---|---|
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | 2018-01-23 22:23:30 +0000 |
commit | 29b3434e48ca41672266ac40f5b9e8f8a0405cb5 (patch) | |
tree | 2524748fc90c30ae887e6a086e6bb76ffaa05e81 /src/sksl/README | |
parent | 8524c30a971cd22fe1e3e0fd3db5988fe23272b6 (diff) |
Revert "converted vertex shaders to device coords"
This reverts commit e7e81c15c144b8133f696d0744ed9f7e8d06e936.
Reason for revert: Chrome perf regressions
Bug: skia:
Change-Id: I17fadc97c4b8e80bfdccbf123554614a00c58473
Reviewed-on: https://skia-review.googlesource.com/99040
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/README | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/sksl/README b/src/sksl/README index e9e46566a8..7c2cf04551 100644 --- a/src/sksl/README +++ b/src/sksl/README @@ -38,8 +38,7 @@ 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. sk_Position is in device coordinates - rather than normalized coordinates. +* use sk_Position instead of gl_Position * use sk_PointSize instead of gl_PointSize * use sk_VertexID instead of gl_VertexID * use sk_InstanceID instead of gl_InstanceID |