From 4fe8e05a7fcaa7223e41414407b9de251ba42676 Mon Sep 17 00:00:00 2001 From: Ray San Date: Mon, 6 Nov 2017 13:49:33 +0100 Subject: [PATCH] Review GLSL 120 shaders Not tested, could have errors --- examples/shaders/resources/shaders/glsl120/base.fs | 2 -- examples/shaders/resources/shaders/glsl120/bloom.fs | 2 -- examples/shaders/resources/shaders/glsl120/blur.fs | 2 -- examples/shaders/resources/shaders/glsl120/cross_hatching.fs | 2 -- examples/shaders/resources/shaders/glsl120/cross_stitching.fs | 2 -- examples/shaders/resources/shaders/glsl120/distortion.fs | 2 -- examples/shaders/resources/shaders/glsl120/dream_vision.fs | 2 -- examples/shaders/resources/shaders/glsl120/fisheye.fs | 2 -- examples/shaders/resources/shaders/glsl120/grayscale.fs | 2 -- examples/shaders/resources/shaders/glsl120/pixelizer.fs | 2 -- examples/shaders/resources/shaders/glsl120/posterization.fs | 2 -- examples/shaders/resources/shaders/glsl120/predator.fs | 2 -- examples/shaders/resources/shaders/glsl120/scanlines.fs | 2 -- examples/shaders/resources/shaders/glsl120/sobel.fs | 2 -- examples/shaders/resources/shaders/glsl120/swirl.fs | 2 -- 15 files changed, 30 deletions(-) diff --git a/examples/shaders/resources/shaders/glsl120/base.fs b/examples/shaders/resources/shaders/glsl120/base.fs index 9c685eb9..18799f95 100644 --- a/examples/shaders/resources/shaders/glsl120/base.fs +++ b/examples/shaders/resources/shaders/glsl120/base.fs @@ -1,7 +1,5 @@ #version 120 -precision mediump float; - // Input vertex attributes (from vertex shader) varying vec2 fragTexCoord; varying vec4 fragColor; diff --git a/examples/shaders/resources/shaders/glsl120/bloom.fs b/examples/shaders/resources/shaders/glsl120/bloom.fs index cd9f8cbe..c28836b0 100644 --- a/examples/shaders/resources/shaders/glsl120/bloom.fs +++ b/examples/shaders/resources/shaders/glsl120/bloom.fs @@ -1,7 +1,5 @@ #version 120 -precision mediump float; - // Input vertex attributes (from vertex shader) varying vec2 fragTexCoord; varying vec4 fragColor; diff --git a/examples/shaders/resources/shaders/glsl120/blur.fs b/examples/shaders/resources/shaders/glsl120/blur.fs index e2b04ad1..99cddfc9 100644 --- a/examples/shaders/resources/shaders/glsl120/blur.fs +++ b/examples/shaders/resources/shaders/glsl120/blur.fs @@ -1,7 +1,5 @@ #version 120 -precision mediump float; - // Input vertex attributes (from vertex shader) varying vec2 fragTexCoord; varying vec4 fragColor; diff --git a/examples/shaders/resources/shaders/glsl120/cross_hatching.fs b/examples/shaders/resources/shaders/glsl120/cross_hatching.fs index 17d9c6a3..46514120 100644 --- a/examples/shaders/resources/shaders/glsl120/cross_hatching.fs +++ b/examples/shaders/resources/shaders/glsl120/cross_hatching.fs @@ -1,7 +1,5 @@ # version 120 -precision mediump float; - // Input vertex attributes (from vertex shader) varying vec2 fragTexCoord; varying vec4 fragColor; diff --git a/examples/shaders/resources/shaders/glsl120/cross_stitching.fs b/examples/shaders/resources/shaders/glsl120/cross_stitching.fs index fe60675a..dee4617e 100644 --- a/examples/shaders/resources/shaders/glsl120/cross_stitching.fs +++ b/examples/shaders/resources/shaders/glsl120/cross_stitching.fs @@ -1,7 +1,5 @@ # version 120 -precision mediump float; - // Input vertex attributes (from vertex shader) varying vec2 fragTexCoord; varying vec4 fragColor; diff --git a/examples/shaders/resources/shaders/glsl120/distortion.fs b/examples/shaders/resources/shaders/glsl120/distortion.fs index 568c50bf..f9d7f1e5 100644 --- a/examples/shaders/resources/shaders/glsl120/distortion.fs +++ b/examples/shaders/resources/shaders/glsl120/distortion.fs @@ -1,7 +1,5 @@ #version 120 -precision mediump float; - // Input vertex attributes (from vertex shader) varying vec2 fragTexCoord; diff --git a/examples/shaders/resources/shaders/glsl120/dream_vision.fs b/examples/shaders/resources/shaders/glsl120/dream_vision.fs index 93cec8fb..4ca2a863 100644 --- a/examples/shaders/resources/shaders/glsl120/dream_vision.fs +++ b/examples/shaders/resources/shaders/glsl120/dream_vision.fs @@ -1,7 +1,5 @@ #version 120 -precision mediump float; - // Input vertex attributes (from vertex shader) varying vec2 fragTexCoord; varying vec4 fragColor; diff --git a/examples/shaders/resources/shaders/glsl120/fisheye.fs b/examples/shaders/resources/shaders/glsl120/fisheye.fs index afac3d4a..6f376ba3 100644 --- a/examples/shaders/resources/shaders/glsl120/fisheye.fs +++ b/examples/shaders/resources/shaders/glsl120/fisheye.fs @@ -1,7 +1,5 @@ #version 120 -precision mediump float; - // Input vertex attributes (from vertex shader) varying vec2 fragTexCoord; varying vec4 fragColor; diff --git a/examples/shaders/resources/shaders/glsl120/grayscale.fs b/examples/shaders/resources/shaders/glsl120/grayscale.fs index 470a4222..4de60d22 100644 --- a/examples/shaders/resources/shaders/glsl120/grayscale.fs +++ b/examples/shaders/resources/shaders/glsl120/grayscale.fs @@ -1,7 +1,5 @@ #version 120 -precision mediump float; - // Input vertex attributes (from vertex shader) varying vec2 fragTexCoord; varying vec4 fragColor; diff --git a/examples/shaders/resources/shaders/glsl120/pixelizer.fs b/examples/shaders/resources/shaders/glsl120/pixelizer.fs index cea6b5e0..6f741faf 100644 --- a/examples/shaders/resources/shaders/glsl120/pixelizer.fs +++ b/examples/shaders/resources/shaders/glsl120/pixelizer.fs @@ -1,7 +1,5 @@ #version 120 -precision mediump float; - // Input vertex attributes (from vertex shader) varying vec2 fragTexCoord; varying vec4 fragColor; diff --git a/examples/shaders/resources/shaders/glsl120/posterization.fs b/examples/shaders/resources/shaders/glsl120/posterization.fs index a9a5f246..475b93a1 100644 --- a/examples/shaders/resources/shaders/glsl120/posterization.fs +++ b/examples/shaders/resources/shaders/glsl120/posterization.fs @@ -1,7 +1,5 @@ #version 120 -precision mediump float; - // Input vertex attributes (from vertex shader) varying vec2 fragTexCoord; varying vec4 fragColor; diff --git a/examples/shaders/resources/shaders/glsl120/predator.fs b/examples/shaders/resources/shaders/glsl120/predator.fs index c471f89d..2999cc8d 100644 --- a/examples/shaders/resources/shaders/glsl120/predator.fs +++ b/examples/shaders/resources/shaders/glsl120/predator.fs @@ -1,7 +1,5 @@ #version 120 -precision mediump float; - // Input vertex attributes (from vertex shader) varying vec2 fragTexCoord; varying vec4 fragColor; diff --git a/examples/shaders/resources/shaders/glsl120/scanlines.fs b/examples/shaders/resources/shaders/glsl120/scanlines.fs index f279f347..929c79eb 100644 --- a/examples/shaders/resources/shaders/glsl120/scanlines.fs +++ b/examples/shaders/resources/shaders/glsl120/scanlines.fs @@ -1,7 +1,5 @@ #version 120 -precision mediump float; - // Input vertex attributes (from vertex shader) varying vec2 fragTexCoord; varying vec4 fragColor; diff --git a/examples/shaders/resources/shaders/glsl120/sobel.fs b/examples/shaders/resources/shaders/glsl120/sobel.fs index 128ca423..a3f3f2bf 100644 --- a/examples/shaders/resources/shaders/glsl120/sobel.fs +++ b/examples/shaders/resources/shaders/glsl120/sobel.fs @@ -1,7 +1,5 @@ #version 120 -precision mediump float; - // Input vertex attributes (from vertex shader) varying vec2 fragTexCoord; varying vec4 fragColor; diff --git a/examples/shaders/resources/shaders/glsl120/swirl.fs b/examples/shaders/resources/shaders/glsl120/swirl.fs index 7cb24e2a..0618e013 100644 --- a/examples/shaders/resources/shaders/glsl120/swirl.fs +++ b/examples/shaders/resources/shaders/glsl120/swirl.fs @@ -1,7 +1,5 @@ #version 120 -precision mediump float; - // Input vertex attributes (from vertex shader) varying vec2 fragTexCoord; varying vec4 fragColor;