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

Side by Side Diff: visual_studio/NativeClientVSAddIn/InstallerResources/examples/hello_world_gles/hello_world_gles/fragment_shader_es2.frag

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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 precision mediump float;
2 varying vec3 v_color;
3 varying vec2 v_texCoord;
4 uniform sampler2D s_texture;
5 void main()
6 {
7 gl_FragColor = texture2D( s_texture, vec2(v_texCoord.x,1.0 - v_texCoord. y) ) + vec4(v_color.x,v_color.y,v_color.z,1);
8 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698