comparison: content/canvas/test/webgl-conformance/conformance/resources/samplerUniformShader.frag
content/canvas/test/webgl-conformance/conformance/resources/samplerUniformShader.frag
- branch
- TOR_BUG_3246
- changeset 6
- 8bccb770b82d
equal
deleted
inserted
replaced
|
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 } |