skia2/tests/sksl/glsl/ForceHighPrecision.glsl
Brian Osman f60052072c When force-high-precision is enabled, change default precision
Change-Id: I7b033c891ee997f1ca022b73d6f78cc501c5cdc2
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/424302
Commit-Queue: Brian Osman <brianosman@google.com>
Reviewed-by: Ethan Nicholas <ethannicholas@google.com>
2021-07-07 19:56:36 +00:00

11 lines
228 B
GLSL

#version 400
precision highp float;
precision highp sampler2D;
out mediump vec4 sk_FragColor;
uniform highp float unknownInput;
void main() {
highp float x = unknownInput;
highp vec4 y = vec4(x);
sk_FragColor = y;
}