prefix.es6 325 字节
Newer Older
W
wangqun 已提交
1 2 3 4 5 6 7 8 9 10 11 12 13
/* eslint-disable */
/**
 * @file 预设条件
 * @author yangmingming
 */
export default `
#ifdef GL_FRAGMENT_PRECISION_HIGH
    precision highp float;
    precision highp int;
#else
    precision mediump float;
    precision mediump int;
#endif
W
wangqun 已提交
14

W
wangqun 已提交
15 16 17 18
    void setOutput(float result) {
        gl_FragColor.r = result;
    }
`;