content/canvas/test/webgl-conformance/conformance/resources/samplerUniformShader.frag

Wed, 31 Dec 2014 07:16:47 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 07:16:47 +0100
branch
TOR_BUG_9701
changeset 3
141e0f1194b1
permissions
-rw-r--r--

Revert simplistic fix pending revisit of Mozilla integration attempt.

     1 precision mediump float;
     2 uniform sampler2D s2D;
     3 uniform samplerCube sCube;
     4 void main()
     5 {
     6     gl_FragColor = texture2D(s2D, vec2(0.5, 0.5)) +
     7                    textureCube(sCube, vec3(0.5, 0.5, 0.5));
     8 }

mercurial