From 2163651c43776625954a8a95025c4bd726cabfc0 Mon Sep 17 00:00:00 2001 From: Frederic Bouvier Date: Sat, 12 May 2012 11:47:18 +0200 Subject: [PATCH] Avoid duplication of fullscreen vertex shader --- Effects/ambient.eff | 2 +- Effects/blur.eff | 2 +- Effects/display.eff | 2 +- Shaders/blur.vert | 4 ---- Shaders/display.vert | 4 ---- Shaders/{ambient.vert => fullscreen.vert} | 0 6 files changed, 3 insertions(+), 11 deletions(-) delete mode 100644 Shaders/blur.vert delete mode 100644 Shaders/display.vert rename Shaders/{ambient.vert => fullscreen.vert} (100%) diff --git a/Effects/ambient.eff b/Effects/ambient.eff index c7e506c03..a92e57150 100644 --- a/Effects/ambient.eff +++ b/Effects/ambient.eff @@ -40,7 +40,7 @@ ao-3 - Shaders/ambient.vert + Shaders/fullscreen.vert Shaders/ambient.frag diff --git a/Effects/blur.eff b/Effects/blur.eff index 9642cd8fc..b80ddb095 100644 --- a/Effects/blur.eff +++ b/Effects/blur.eff @@ -14,7 +14,7 @@ buffer-name - Shaders/blur.vert + Shaders/fullscreen.vert Shaders/blur.frag diff --git a/Effects/display.eff b/Effects/display.eff index 2f7ba410c..898f15fbd 100644 --- a/Effects/display.eff +++ b/Effects/display.eff @@ -43,7 +43,7 @@ ao-3 - Shaders/display.vert + Shaders/fullscreen.vert Shaders/display.frag diff --git a/Shaders/blur.vert b/Shaders/blur.vert deleted file mode 100644 index f01ebba78..000000000 --- a/Shaders/blur.vert +++ /dev/null @@ -1,4 +0,0 @@ -void main() { - gl_Position = gl_Vertex; - gl_TexCoord[0] = gl_MultiTexCoord0; -} diff --git a/Shaders/display.vert b/Shaders/display.vert deleted file mode 100644 index f01ebba78..000000000 --- a/Shaders/display.vert +++ /dev/null @@ -1,4 +0,0 @@ -void main() { - gl_Position = gl_Vertex; - gl_TexCoord[0] = gl_MultiTexCoord0; -} diff --git a/Shaders/ambient.vert b/Shaders/fullscreen.vert similarity index 100% rename from Shaders/ambient.vert rename to Shaders/fullscreen.vert