diff options
Diffstat (limited to 'progs/vpglsl/varfor4f.glsl')
-rw-r--r-- | progs/vpglsl/varfor4f.glsl | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/progs/vpglsl/varfor4f.glsl b/progs/vpglsl/varfor4f.glsl deleted file mode 100644 index c70ba0356fd..00000000000 --- a/progs/vpglsl/varfor4f.glsl +++ /dev/null @@ -1,19 +0,0 @@ -const int KernelSize = 4; -uniform vec4 KernelValue4f[KernelSize]; - -void main(void) -{ - int i; - vec4 sum = vec4(0.0); - vec4 tmp = gl_Color; - gl_Position = gl_Vertex; - - for (i = 0; i < KernelSize; ++i) { - vec4 rgba; - - rgba = KernelValue4f[i]; - - sum += tmp * rgba; - } - gl_FrontColor = sum; -} |