From c0dd9122fdedd4bcab5bc0b3bbb490e6b62fac83 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Sat, 16 Aug 2008 09:36:46 -0600 Subject: [PATCH] remove .txt suffix from shader source files --- progs/glsl/{CH06-brick.frag.txt => CH06-brick.frag} | 0 progs/glsl/{CH06-brick.vert.txt => CH06-brick.vert} | 0 progs/glsl/{CH11-bumpmap.frag.txt => CH11-bumpmap.frag} | 0 progs/glsl/{CH11-bumpmap.vert.txt => CH11-bumpmap.vert} | 0 progs/glsl/{CH11-toyball.frag.txt => CH11-toyball.frag} | 0 progs/glsl/{CH11-toyball.vert.txt => CH11-toyball.vert} | 0 progs/glsl/{CH18-mandel.frag.txt => CH18-mandel.frag} | 0 progs/glsl/{CH18-mandel.vert.txt => CH18-mandel.vert} | 0 progs/glsl/brick.c | 4 ++-- progs/glsl/bump.c | 4 ++-- progs/glsl/{cubemap.frag.txt => cubemap.frag} | 0 progs/glsl/mandelbrot.c | 4 ++-- progs/glsl/multitex.c | 4 ++-- progs/glsl/{multitex.frag.txt => multitex.frag} | 0 progs/glsl/{multitex.vert.txt => multitex.vert} | 0 progs/glsl/{reflect.vert.txt => reflect.vert} | 0 progs/glsl/{shadowtex.frag.txt => shadowtex.frag} | 0 progs/glsl/{simple.vert.txt => simple.vert} | 0 progs/glsl/texdemo1.c | 8 ++++---- progs/glsl/toyball.c | 4 ++-- 20 files changed, 14 insertions(+), 14 deletions(-) rename progs/glsl/{CH06-brick.frag.txt => CH06-brick.frag} (100%) rename progs/glsl/{CH06-brick.vert.txt => CH06-brick.vert} (100%) rename progs/glsl/{CH11-bumpmap.frag.txt => CH11-bumpmap.frag} (100%) rename progs/glsl/{CH11-bumpmap.vert.txt => CH11-bumpmap.vert} (100%) rename progs/glsl/{CH11-toyball.frag.txt => CH11-toyball.frag} (100%) rename progs/glsl/{CH11-toyball.vert.txt => CH11-toyball.vert} (100%) rename progs/glsl/{CH18-mandel.frag.txt => CH18-mandel.frag} (100%) rename progs/glsl/{CH18-mandel.vert.txt => CH18-mandel.vert} (100%) rename progs/glsl/{cubemap.frag.txt => cubemap.frag} (100%) rename progs/glsl/{multitex.frag.txt => multitex.frag} (100%) rename progs/glsl/{multitex.vert.txt => multitex.vert} (100%) rename progs/glsl/{reflect.vert.txt => reflect.vert} (100%) rename progs/glsl/{shadowtex.frag.txt => shadowtex.frag} (100%) rename progs/glsl/{simple.vert.txt => simple.vert} (100%) diff --git a/progs/glsl/CH06-brick.frag.txt b/progs/glsl/CH06-brick.frag similarity index 100% rename from progs/glsl/CH06-brick.frag.txt rename to progs/glsl/CH06-brick.frag diff --git a/progs/glsl/CH06-brick.vert.txt b/progs/glsl/CH06-brick.vert similarity index 100% rename from progs/glsl/CH06-brick.vert.txt rename to progs/glsl/CH06-brick.vert diff --git a/progs/glsl/CH11-bumpmap.frag.txt b/progs/glsl/CH11-bumpmap.frag similarity index 100% rename from progs/glsl/CH11-bumpmap.frag.txt rename to progs/glsl/CH11-bumpmap.frag diff --git a/progs/glsl/CH11-bumpmap.vert.txt b/progs/glsl/CH11-bumpmap.vert similarity index 100% rename from progs/glsl/CH11-bumpmap.vert.txt rename to progs/glsl/CH11-bumpmap.vert diff --git a/progs/glsl/CH11-toyball.frag.txt b/progs/glsl/CH11-toyball.frag similarity index 100% rename from progs/glsl/CH11-toyball.frag.txt rename to progs/glsl/CH11-toyball.frag diff --git a/progs/glsl/CH11-toyball.vert.txt b/progs/glsl/CH11-toyball.vert similarity index 100% rename from progs/glsl/CH11-toyball.vert.txt rename to progs/glsl/CH11-toyball.vert diff --git a/progs/glsl/CH18-mandel.frag.txt b/progs/glsl/CH18-mandel.frag similarity index 100% rename from progs/glsl/CH18-mandel.frag.txt rename to progs/glsl/CH18-mandel.frag diff --git a/progs/glsl/CH18-mandel.vert.txt b/progs/glsl/CH18-mandel.vert similarity index 100% rename from progs/glsl/CH18-mandel.vert.txt rename to progs/glsl/CH18-mandel.vert diff --git a/progs/glsl/brick.c b/progs/glsl/brick.c index 4be266622b5..526ef0e2e36 100644 --- a/progs/glsl/brick.c +++ b/progs/glsl/brick.c @@ -16,8 +16,8 @@ #include "shaderutil.h" -static char *FragProgFile = "CH06-brick.frag.txt"; -static char *VertProgFile = "CH06-brick.vert.txt"; +static char *FragProgFile = "CH06-brick.frag"; +static char *VertProgFile = "CH06-brick.vert"; /* program/shader objects */ static GLuint fragShader; diff --git a/progs/glsl/bump.c b/progs/glsl/bump.c index e42421d489a..a2e0916861c 100644 --- a/progs/glsl/bump.c +++ b/progs/glsl/bump.c @@ -16,8 +16,8 @@ #include "shaderutil.h" -static char *FragProgFile = "CH11-bumpmap.frag.txt"; -static char *VertProgFile = "CH11-bumpmap.vert.txt"; +static char *FragProgFile = "CH11-bumpmap.frag"; +static char *VertProgFile = "CH11-bumpmap.vert"; /* program/shader objects */ static GLuint fragShader; diff --git a/progs/glsl/cubemap.frag.txt b/progs/glsl/cubemap.frag similarity index 100% rename from progs/glsl/cubemap.frag.txt rename to progs/glsl/cubemap.frag diff --git a/progs/glsl/mandelbrot.c b/progs/glsl/mandelbrot.c index fa67a3c2cae..e6361b429b3 100644 --- a/progs/glsl/mandelbrot.c +++ b/progs/glsl/mandelbrot.c @@ -16,8 +16,8 @@ #include "shaderutil.h" -static char *FragProgFile = "CH18-mandel.frag.txt"; -static char *VertProgFile = "CH18-mandel.vert.txt"; +static char *FragProgFile = "CH18-mandel.frag"; +static char *VertProgFile = "CH18-mandel.vert"; /* program/shader objects */ static GLuint fragShader; diff --git a/progs/glsl/multitex.c b/progs/glsl/multitex.c index 5574ed4139f..096d40f64d7 100644 --- a/progs/glsl/multitex.c +++ b/progs/glsl/multitex.c @@ -35,8 +35,8 @@ static const char *Demo = "multitex"; -static const char *VertFile = "multitex.vert.txt"; -static const char *FragFile = "multitex.frag.txt"; +static const char *VertFile = "multitex.vert"; +static const char *FragFile = "multitex.frag"; static const char *TexFiles[2] = { diff --git a/progs/glsl/multitex.frag.txt b/progs/glsl/multitex.frag similarity index 100% rename from progs/glsl/multitex.frag.txt rename to progs/glsl/multitex.frag diff --git a/progs/glsl/multitex.vert.txt b/progs/glsl/multitex.vert similarity index 100% rename from progs/glsl/multitex.vert.txt rename to progs/glsl/multitex.vert diff --git a/progs/glsl/reflect.vert.txt b/progs/glsl/reflect.vert similarity index 100% rename from progs/glsl/reflect.vert.txt rename to progs/glsl/reflect.vert diff --git a/progs/glsl/shadowtex.frag.txt b/progs/glsl/shadowtex.frag similarity index 100% rename from progs/glsl/shadowtex.frag.txt rename to progs/glsl/shadowtex.frag diff --git a/progs/glsl/simple.vert.txt b/progs/glsl/simple.vert similarity index 100% rename from progs/glsl/simple.vert.txt rename to progs/glsl/simple.vert diff --git a/progs/glsl/texdemo1.c b/progs/glsl/texdemo1.c index 3dd19eaf4bf..41010746eea 100644 --- a/progs/glsl/texdemo1.c +++ b/progs/glsl/texdemo1.c @@ -35,11 +35,11 @@ static const char *Demo = "texdemo1"; -static const char *ReflectVertFile = "reflect.vert.txt"; -static const char *CubeFragFile = "cubemap.frag.txt"; +static const char *ReflectVertFile = "reflect.vert"; +static const char *CubeFragFile = "cubemap.frag"; -static const char *SimpleVertFile = "simple.vert.txt"; -static const char *SimpleTexFragFile = "shadowtex.frag.txt"; +static const char *SimpleVertFile = "simple.vert"; +static const char *SimpleTexFragFile = "shadowtex.frag"; static const char *GroundImage = "../images/tile.rgb"; diff --git a/progs/glsl/toyball.c b/progs/glsl/toyball.c index b870435f662..2daaedd6df8 100644 --- a/progs/glsl/toyball.c +++ b/progs/glsl/toyball.c @@ -16,8 +16,8 @@ #include "shaderutil.h" -static char *FragProgFile = "CH11-toyball.frag.txt"; -static char *VertProgFile = "CH11-toyball.vert.txt"; +static char *FragProgFile = "CH11-toyball.frag"; +static char *VertProgFile = "CH11-toyball.vert"; /* program/shader objects */ static GLuint fragShader; -- 2.30.2