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

Unified Diff: conformance/resources/intArrayUniformShader.vert

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/green-2x2-16bit.png ('k') | conformance/resources/intUniformShader.vert » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: conformance/resources/intArrayUniformShader.vert
===================================================================
--- conformance/resources/intArrayUniformShader.vert (revision 0)
+++ conformance/resources/intArrayUniformShader.vert (revision 0)
@@ -0,0 +1,8 @@
+uniform int ival;
+uniform int ival2[2];
+
+void main()
+{
+ int sum = ival + ival2[0] + ival2[1];
+ gl_Position = vec4(sum, 0.0, 0.0, 1.0);
+}
« no previous file with comments | « conformance/resources/green-2x2-16bit.png ('k') | conformance/resources/intUniformShader.vert » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698