summaryrefslogtreecommitdiff
path: root/shaders
diff options
context:
space:
mode:
authorKenneth Graunke <kenneth@whitecape.org>2014-08-18 17:08:50 -0700
committerKenneth Graunke <kenneth@whitecape.org>2014-08-18 17:08:50 -0700
commitb3672bc41e125f7dbd594dab1091f4aa3ed1361a (patch)
treeefd27e745a2c3ab4e3c3a2149771fa6b99e33498 /shaders
parent339cadd5e0394a4ce189fedbe0546b0d3c8b673b (diff)
Delete weston shaders.
We don't support .vert and .frag files anymore.
Diffstat (limited to 'shaders')
-rw-r--r--shaders/weston/1.frag14
-rw-r--r--shaders/weston/1.vert10
-rw-r--r--shaders/weston/2.frag9
-rw-r--r--shaders/weston/2.vert10
-rw-r--r--shaders/weston/3.frag6
-rw-r--r--shaders/weston/3.vert10
-rw-r--r--shaders/weston/4.frag9
-rw-r--r--shaders/weston/4.vert6
-rw-r--r--shaders/weston/5.frag19
-rw-r--r--shaders/weston/5.vert7
-rw-r--r--shaders/weston/6.frag7
-rw-r--r--shaders/weston/6.vert12
12 files changed, 0 insertions, 119 deletions
diff --git a/shaders/weston/1.frag b/shaders/weston/1.frag
deleted file mode 100644
index 987aa56..0000000
--- a/shaders/weston/1.frag
+++ /dev/null
@@ -1,14 +0,0 @@
-precision mediump float;
-varying vec2 v_texcoord;
-uniform sampler2D tex;
-uniform float alpha;
-uniform float texwidth;
-void main()
-{
- if (v_texcoord.x < 0.0 || v_texcoord.x > texwidth ||
- v_texcoord.y < 0.0 || v_texcoord.y > 1.0)
- discard;
- gl_FragColor = texture2D(tex, v_texcoord)
-; gl_FragColor = alpha * gl_FragColor;
-}
-
diff --git a/shaders/weston/1.vert b/shaders/weston/1.vert
deleted file mode 100644
index 7b4e1b7..0000000
--- a/shaders/weston/1.vert
+++ /dev/null
@@ -1,10 +0,0 @@
-uniform mat4 proj;
-attribute vec2 position;
-attribute vec2 texcoord;
-varying vec2 v_texcoord;
-void main()
-{
- gl_Position = proj * vec4(position, 0.0, 1.0);
- v_texcoord = texcoord;
-}
-
diff --git a/shaders/weston/2.frag b/shaders/weston/2.frag
deleted file mode 100644
index e290824..0000000
--- a/shaders/weston/2.frag
+++ /dev/null
@@ -1,9 +0,0 @@
-#ifdef GL_ES
-precision mediump float;
-#endif
-uniform vec4 color;
-void main()
-{
- gl_FragColor = color;
-}
-
diff --git a/shaders/weston/2.vert b/shaders/weston/2.vert
deleted file mode 100644
index 7b4e1b7..0000000
--- a/shaders/weston/2.vert
+++ /dev/null
@@ -1,10 +0,0 @@
-uniform mat4 proj;
-attribute vec2 position;
-attribute vec2 texcoord;
-varying vec2 v_texcoord;
-void main()
-{
- gl_Position = proj * vec4(position, 0.0, 1.0);
- v_texcoord = texcoord;
-}
-
diff --git a/shaders/weston/3.frag b/shaders/weston/3.frag
deleted file mode 100644
index 4c72c26..0000000
--- a/shaders/weston/3.frag
+++ /dev/null
@@ -1,6 +0,0 @@
-uniform vec4 color;
-void main()
-{
- gl_FragColor = color;
-}
-
diff --git a/shaders/weston/3.vert b/shaders/weston/3.vert
deleted file mode 100644
index 03b57f1..0000000
--- a/shaders/weston/3.vert
+++ /dev/null
@@ -1,10 +0,0 @@
-attribute vec4 Vertex;
-attribute vec4 Color;
-attribute vec4 MultiTexCoord0;
-attribute vec4 MultiTexCoord1;
-uniform mat4 ModelViewProjectionMatrix;
-void main()
-{
- gl_Position = ModelViewProjectionMatrix * Vertex;
-}
-
diff --git a/shaders/weston/4.frag b/shaders/weston/4.frag
deleted file mode 100644
index 544ecfa..0000000
--- a/shaders/weston/4.frag
+++ /dev/null
@@ -1,9 +0,0 @@
-#version 130
-uniform ivec4 color;
-out ivec4 out_color;
-
-void main()
-{
- out_color = color;
-}
-
diff --git a/shaders/weston/4.vert b/shaders/weston/4.vert
deleted file mode 100644
index b081d0f..0000000
--- a/shaders/weston/4.vert
+++ /dev/null
@@ -1,6 +0,0 @@
-attribute vec4 position;
-void main()
-{
- gl_Position = position;
-}
-
diff --git a/shaders/weston/5.frag b/shaders/weston/5.frag
deleted file mode 100644
index 1d1b4ff..0000000
--- a/shaders/weston/5.frag
+++ /dev/null
@@ -1,19 +0,0 @@
-#ifdef GL_ES
-precision mediump float;
-#endif
-uniform sampler2D source_sampler;
-uniform vec2 source_texdims;
-varying vec2 source_texcoords;
-vec4 get_source()
-{
- return texture2D (source_sampler, source_texcoords);
-}
-vec4 get_mask()
-{
- return vec4 (0, 0, 0, 1);
-}
-void main()
-{
- gl_FragColor = get_source() * get_mask().a;
-}
-
diff --git a/shaders/weston/5.vert b/shaders/weston/5.vert
deleted file mode 100644
index 0fbd261..0000000
--- a/shaders/weston/5.vert
+++ /dev/null
@@ -1,7 +0,0 @@
-#version 130
-attribute vec4 position;
-void main()
-{
- gl_Position = position;
-}
-
diff --git a/shaders/weston/6.frag b/shaders/weston/6.frag
deleted file mode 100644
index 8857b30..0000000
--- a/shaders/weston/6.frag
+++ /dev/null
@@ -1,7 +0,0 @@
-precision mediump float;
-uniform vec4 color;
-void main()
-{
- gl_FragColor = color
-;}
-
diff --git a/shaders/weston/6.vert b/shaders/weston/6.vert
deleted file mode 100644
index a1802af..0000000
--- a/shaders/weston/6.vert
+++ /dev/null
@@ -1,12 +0,0 @@
-varying vec2 source_texcoords;
-attribute vec4 Vertex;
-attribute vec4 Color;
-attribute vec4 MultiTexCoord0;
-attribute vec4 MultiTexCoord1;
-uniform mat4 ModelViewProjectionMatrix;
-void main()
-{
- gl_Position = ModelViewProjectionMatrix * Vertex;
- source_texcoords = MultiTexCoord0.xy;
-}
-