skia2/tests/sksl/intrinsics/FloatBitsToInt.glsl

7 lines
104 B
Plaintext
Raw Normal View History

out vec4 sk_FragColor;
uniform float a;
void main() {
sk_FragColor.x = float(floatBitsToInt(a));
}