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

Unified Diff: visual_studio/NativeClientVSAddIn/InstallerResources/examples/hello_world_gles/hello_world_gles/vertex_shader_es2.vert

Issue 10825290: NaCl VS Add-in hello_world_gles example (Closed) Base URL: https://nativeclient-sdk.googlecode.com/svn/trunk/src
Patch Set: Created 8 years, 4 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 | « visual_studio/NativeClientVSAddIn/InstallerResources/examples/hello_world_gles/hello_world_gles/matrix.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: visual_studio/NativeClientVSAddIn/InstallerResources/examples/hello_world_gles/hello_world_gles/vertex_shader_es2.vert
diff --git a/visual_studio/NativeClientVSAddIn/InstallerResources/examples/hello_world_gles/hello_world_gles/vertex_shader_es2.vert b/visual_studio/NativeClientVSAddIn/InstallerResources/examples/hello_world_gles/hello_world_gles/vertex_shader_es2.vert
new file mode 100644
index 0000000000000000000000000000000000000000..da616cb92a43c058daedbc5d31fb4cb25eeab533
--- /dev/null
+++ b/visual_studio/NativeClientVSAddIn/InstallerResources/examples/hello_world_gles/hello_world_gles/vertex_shader_es2.vert
@@ -0,0 +1,12 @@
+uniform mat4 a_MVP;
+attribute vec2 a_texCoord;
+attribute vec3 a_color;
+attribute vec4 a_position;
+varying vec3 v_color;
+varying vec2 v_texCoord;
+void main()
+{
+ gl_Position = a_MVP * a_position;
+ v_color = a_color;
+ v_texCoord = a_texCoord;
+}
« no previous file with comments | « visual_studio/NativeClientVSAddIn/InstallerResources/examples/hello_world_gles/hello_world_gles/matrix.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698