aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/sksl/sksl_vert.include
diff options
context:
space:
mode:
authorGravatar Ethan Nicholas <ethannicholas@google.com>2017-09-15 11:42:17 -0400
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2017-09-15 18:50:54 +0000
commit05d5a13fea6246648de7e41358ed338d53c85ea2 (patch)
tree695fdbeae1116f8ce813288e47b31c2a99f28f1f /src/sksl/sksl_vert.include
parent49f1f34438d3431f6d7e32847accd2ba96948a73 (diff)
Revert "Revert "Switched highp float to highfloat and mediump float to half.""
This reverts commit 1d816b92bb7cf2258007f3f74ffd143b89f25d01. Bug: skia: Change-Id: I388b5e5e9bf619db48297a80c9a80c039f26c9f1 Reviewed-on: https://skia-review.googlesource.com/46464 Reviewed-by: Brian Salomon <bsalomon@google.com> Commit-Queue: Ethan Nicholas <ethannicholas@google.com>
Diffstat (limited to 'src/sksl/sksl_vert.include')
-rw-r--r--src/sksl/sksl_vert.include6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/sksl/sksl_vert.include b/src/sksl/sksl_vert.include
index 976877c6e7..e7f841949c 100644
--- a/src/sksl/sksl_vert.include
+++ b/src/sksl/sksl_vert.include
@@ -3,9 +3,9 @@ STRINGIFY(
// defines built-in interfaces supported by SkiaSL vertex shaders
out sk_PerVertex {
- layout(builtin=0) float4 gl_Position;
- layout(builtin=1) float gl_PointSize;
- layout(builtin=3) float sk_ClipDistance[1];
+ layout(builtin=0) highfloat4 gl_Position;
+ layout(builtin=1) highfloat gl_PointSize;
+ layout(builtin=3) highfloat sk_ClipDistance[1];
};
layout(builtin=5) in int sk_VertexID;