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

Side by Side Diff: native_client_sdk/src/examples/api/graphics_3d/vertex_shader_es2.vert

Issue 23838002: [NaCl SDK] Simplify graphics3d example. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: nits Created 7 years, 3 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « native_client_sdk/src/examples/api/graphics_3d/texture.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 uniform mat4 a_MVP;
2 attribute vec2 a_texCoord;
3 attribute vec3 a_color;
4 attribute vec4 a_position;
5 varying vec3 v_color;
6 varying vec2 v_texCoord;
7 void main()
8 {
9 gl_Position = a_MVP * a_position;
10 v_color = a_color;
11 v_texCoord = a_texCoord;
12 }
OLDNEW
« no previous file with comments | « native_client_sdk/src/examples/api/graphics_3d/texture.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698