aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/sksl/sksl_geom.include
diff options
context:
space:
mode:
Diffstat (limited to 'src/sksl/sksl_geom.include')
-rw-r--r--src/sksl/sksl_geom.include4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/sksl/sksl_geom.include b/src/sksl/sksl_geom.include
index e980d6bed9..f1b3604357 100644
--- a/src/sksl/sksl_geom.include
+++ b/src/sksl/sksl_geom.include
@@ -3,13 +3,13 @@ STRINGIFY(
// defines built-in interfaces supported by SkiaSL geometry shaders
layout(builtin=10002) in sk_PerVertex {
- layout(builtin=0) vec4 gl_Position;
+ layout(builtin=0) float4 gl_Position;
layout(builtin=1) float gl_PointSize;
layout(builtin=3) float sk_ClipDistance[];
} sk_in[];
out sk_PerVertex {
- layout(builtin=0) vec4 gl_Position;
+ layout(builtin=0) float4 gl_Position;
layout(builtin=1) float gl_PointSize;
layout(builtin=3) float sk_ClipDistance[];
};