summaryrefslogtreecommitdiffstats
path: root/dom/canvas/test/webgl-conf/checkout/resources/samplerUniformShader.frag
blob: 11cba127460f60886b6bb860764d898eba9a067e (plain)
1
2
3
4
5
6
7
8
precision mediump float;
uniform sampler2D s2D;
uniform samplerCube sCube;
void main()
{
    gl_FragColor = texture2D(s2D, vec2(0.5, 0.5)) +
                   textureCube(sCube, vec3(0.5, 0.5, 0.5));
}