summaryrefslogtreecommitdiff
path: root/servers/rendering/renderer_rd/shaders/effects/SCsub
diff options
context:
space:
mode:
authorBastiaan Olij <mux213@gmail.com>2022-09-26 12:23:28 +1000
committerBastiaan Olij <mux213@gmail.com>2022-09-26 12:29:19 +1000
commit56d6a13fd710146097b32e5e02bce6e8911a5219 (patch)
treeb89ba47456d75f209cbf833dd901920592bd5741 /servers/rendering/renderer_rd/shaders/effects/SCsub
parentef266183598401d89482c5d2035d7e4cd3f64cb9 (diff)
Make dependencies with shader includes in subfolders
Diffstat (limited to 'servers/rendering/renderer_rd/shaders/effects/SCsub')
-rw-r--r--servers/rendering/renderer_rd/shaders/effects/SCsub2
1 files changed, 1 insertions, 1 deletions
diff --git a/servers/rendering/renderer_rd/shaders/effects/SCsub b/servers/rendering/renderer_rd/shaders/effects/SCsub
index 741da8fe69..f06a2d86e2 100644
--- a/servers/rendering/renderer_rd/shaders/effects/SCsub
+++ b/servers/rendering/renderer_rd/shaders/effects/SCsub
@@ -4,7 +4,7 @@ Import("env")
if "RD_GLSL" in env["BUILDERS"]:
# find all include files
- gl_include_files = [str(f) for f in Glob("*_inc.glsl")]
+ gl_include_files = [str(f) for f in Glob("*_inc.glsl")] + [str(f) for f in Glob("../*_inc.glsl")]
# find all shader code(all glsl files excluding our include files)
glsl_files = [str(f) for f in Glob("*.glsl") if str(f) not in gl_include_files]