skia2/tests/sksl/intrinsics/IntBitsToFloat.glsl

7 lines
95 B
Plaintext
Raw Normal View History

out vec4 sk_FragColor;
uniform int a;
void main() {
sk_FragColor.x = intBitsToFloat(a);
}