skia2/tests/sksl/glsl/ForceHighPrecision.glsl

11 lines
228 B
Plaintext
Raw Normal View History

#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;
}