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

Unified Diff: third_party/gles2_book/Chapter_13/ProceduralTextures/checker.fs

Issue 22325003: Deleted third_party/gles2_book. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 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
Index: third_party/gles2_book/Chapter_13/ProceduralTextures/checker.fs
diff --git a/third_party/gles2_book/Chapter_13/ProceduralTextures/checker.fs b/third_party/gles2_book/Chapter_13/ProceduralTextures/checker.fs
deleted file mode 100644
index 305eb469220879782e296edd8eee33a4455b9749..0000000000000000000000000000000000000000
--- a/third_party/gles2_book/Chapter_13/ProceduralTextures/checker.fs
+++ /dev/null
@@ -1,21 +0,0 @@
-#ifdef GL_ES
-precision highp float;
-#endif
-
-uniform int frequency;
-uniform vec4 color0;
-uniform vec4 color1;
-
-varying vec2 v_st;
-
-void
-main()
-{
- float s, t, delta;
-
- s = mod(floor(v_st.x * float(frequency * 2)), 2.0);
- t = mod(floor(v_st.y * float(frequency * 2)), 2.0);
- delta = abs(s - t);
-
- gl_FragColor = mix(color1, color0, delta);
-}

Powered by Google App Engine
This is Rietveld 408576698