summaryrefslogtreecommitdiffstats
path: root/third_party/gles2_book/Chapter_13/ProceduralTextures/checker.vs
diff options
context:
space:
mode:
authorjam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-08-05 21:28:04 +0000
committerjam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-08-05 21:28:04 +0000
commitb2f65314a8adcc1a8d496ecc43c1610108764e88 (patch)
tree1176eca3eb7a1325085dd2f494fc16e874540ad3 /third_party/gles2_book/Chapter_13/ProceduralTextures/checker.vs
parent15be53e18478db7b243f7000ac759eb307ec6be1 (diff)
downloadchromium_src-b2f65314a8adcc1a8d496ecc43c1610108764e88.zip
chromium_src-b2f65314a8adcc1a8d496ecc43c1610108764e88.tar.gz
chromium_src-b2f65314a8adcc1a8d496ecc43c1610108764e88.tar.bz2
bring back deleted folder
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@215691 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'third_party/gles2_book/Chapter_13/ProceduralTextures/checker.vs')
-rw-r--r--third_party/gles2_book/Chapter_13/ProceduralTextures/checker.vs14
1 files changed, 14 insertions, 0 deletions
diff --git a/third_party/gles2_book/Chapter_13/ProceduralTextures/checker.vs b/third_party/gles2_book/Chapter_13/ProceduralTextures/checker.vs
new file mode 100644
index 0000000..88375ba
--- /dev/null
+++ b/third_party/gles2_book/Chapter_13/ProceduralTextures/checker.vs
@@ -0,0 +1,14 @@
+
+uniform mat4 mvp_matrix;
+
+attribute vec4 a_position;
+attribute vec2 a_st;
+
+varying vec2 v_st;
+
+void
+main()
+{
+ v_st = a_st;
+ gl_Position = mvp_matrix * a_position;
+}