summaryrefslogtreecommitdiffstats
path: root/progs/glsl/convolution.vert
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2008-08-16 09:34:12 -0600
committerBrian Paul <[email protected]>2008-08-16 09:34:12 -0600
commitce00d232f3c01c71fb659568e9b58da1f24b2519 (patch)
tree4e191cfe00a517763fb28b466fbceeb345d830de /progs/glsl/convolution.vert
parentdb1103ebe8a4c683805694528e0a9c7a97c5769d (diff)
mesa: added glsl/convolutions test from gallium branch
Diffstat (limited to 'progs/glsl/convolution.vert')
-rw-r--r--progs/glsl/convolution.vert5
1 files changed, 5 insertions, 0 deletions
diff --git a/progs/glsl/convolution.vert b/progs/glsl/convolution.vert
new file mode 100644
index 00000000000..752c54671c3
--- /dev/null
+++ b/progs/glsl/convolution.vert
@@ -0,0 +1,5 @@
+void main() {
+ gl_FrontColor = gl_Color;
+ gl_TexCoord[0] = gl_MultiTexCoord0;
+ gl_Position = gl_ModelViewProjectionMatrix * gl_Vertex;
+}