From a24347d041223f4844b4ec697b5635481e5a95fc Mon Sep 17 00:00:00 2001 From: clayjohn Date: Wed, 24 Jan 2024 14:04:54 -0800 Subject: [PATCH] Significantly improve the speed of shader compilation in compatibility backend Compile the unlit version by default to save on both cache size and compile time (cherry picked from commit f1781fe9d1ec82cc9f78ecf0a8f6fa20e7114e46) --- drivers/gles3/shaders/canvas.glsl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gles3/shaders/canvas.glsl b/drivers/gles3/shaders/canvas.glsl index e47e3ae9a32..10c1be53b9d 100644 --- a/drivers/gles3/shaders/canvas.glsl +++ b/drivers/gles3/shaders/canvas.glsl @@ -9,7 +9,7 @@ mode_instanced = #define USE_ATTRIBUTES \n#define USE_INSTANCING #[specializations] -DISABLE_LIGHTING = false +DISABLE_LIGHTING = true USE_RGBA_SHADOWS = false SINGLE_INSTANCE = false