From fec45dfe9ca31f0ccf1cd6a4f0a4a7a588c878e9 Mon Sep 17 00:00:00 2001 From: Geoffrey McRae Date: Fri, 27 May 2022 02:10:38 +1000 Subject: [PATCH] [client] egl: remove unused splash shaders --- client/renderers/EGL/shader/splash_bg.frag | 13 ------------- client/renderers/EGL/shader/splash_bg.vert | 14 -------------- client/renderers/EGL/shader/splash_logo.frag | 11 ----------- client/renderers/EGL/shader/splash_logo.vert | 12 ------------ 4 files changed, 50 deletions(-) delete mode 100644 client/renderers/EGL/shader/splash_bg.frag delete mode 100644 client/renderers/EGL/shader/splash_bg.vert delete mode 100644 client/renderers/EGL/shader/splash_logo.frag delete mode 100644 client/renderers/EGL/shader/splash_logo.vert diff --git a/client/renderers/EGL/shader/splash_bg.frag b/client/renderers/EGL/shader/splash_bg.frag deleted file mode 100644 index 01320b27..00000000 --- a/client/renderers/EGL/shader/splash_bg.frag +++ /dev/null @@ -1,13 +0,0 @@ -#version 300 es -precision mediump float; - -in vec3 pos; -out vec4 color; - -uniform sampler2D sampler1; - -void main() -{ - highp float d = 1.0 - 0.5 * length(pos.xy); - color = vec4(0.234375 * d, 0.015625 * d, 0.425781 * d, 1.0); -} diff --git a/client/renderers/EGL/shader/splash_bg.vert b/client/renderers/EGL/shader/splash_bg.vert deleted file mode 100644 index d16b2546..00000000 --- a/client/renderers/EGL/shader/splash_bg.vert +++ /dev/null @@ -1,14 +0,0 @@ -#version 300 es -precision mediump float; - -layout(location = 0) in vec3 vertexPosition_modelspace; - -out vec3 pos; - -void main() -{ - gl_Position.xyz = vertexPosition_modelspace; - gl_Position.w = 1.0; - - pos = vertexPosition_modelspace; -} diff --git a/client/renderers/EGL/shader/splash_logo.frag b/client/renderers/EGL/shader/splash_logo.frag deleted file mode 100644 index 016e24df..00000000 --- a/client/renderers/EGL/shader/splash_logo.frag +++ /dev/null @@ -1,11 +0,0 @@ -#version 300 es -precision mediump float; - -out vec4 color; - -uniform sampler2D sampler1; - -void main() -{ - color = vec4(1.0, 1.0, 1.0, 1.0); -} diff --git a/client/renderers/EGL/shader/splash_logo.vert b/client/renderers/EGL/shader/splash_logo.vert deleted file mode 100644 index a4125b7d..00000000 --- a/client/renderers/EGL/shader/splash_logo.vert +++ /dev/null @@ -1,12 +0,0 @@ -#version 300 es - -layout(location = 0) in vec3 vertexPosition_modelspace; - -uniform float scale; - -void main() -{ - gl_Position.xyz = vertexPosition_modelspace; - gl_Position.y *= scale; - gl_Position.w = 1.0; -}