Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(109)

Unified Diff: conformance/resources/samplerUniformShader.frag

Issue 8342021: Add webgl conformance tests r15841. (Closed) Base URL: svn://chrome-svn/chrome/trunk/deps/third_party/webgl/sdk/tests/
Patch Set: Created 9 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « conformance/resources/red-indexed.png ('k') | conformance/resources/small-square-with-cie-rgb-profile.png » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: conformance/resources/samplerUniformShader.frag
===================================================================
--- conformance/resources/samplerUniformShader.frag (revision 0)
+++ conformance/resources/samplerUniformShader.frag (revision 0)
@@ -0,0 +1,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));
+}
« no previous file with comments | « conformance/resources/red-indexed.png ('k') | conformance/resources/small-square-with-cie-rgb-profile.png » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698