diff options
author | Bastiaan Olij <mux213@gmail.com> | 2022-09-26 12:23:28 +1000 |
---|---|---|
committer | Bastiaan Olij <mux213@gmail.com> | 2022-09-26 12:29:19 +1000 |
commit | 56d6a13fd710146097b32e5e02bce6e8911a5219 (patch) | |
tree | b89ba47456d75f209cbf833dd901920592bd5741 /servers/rendering/renderer_rd/shaders/forward_clustered | |
parent | ef266183598401d89482c5d2035d7e4cd3f64cb9 (diff) |
Make dependencies with shader includes in subfolders
Diffstat (limited to 'servers/rendering/renderer_rd/shaders/forward_clustered')
-rw-r--r-- | servers/rendering/renderer_rd/shaders/forward_clustered/SCsub | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/servers/rendering/renderer_rd/shaders/forward_clustered/SCsub b/servers/rendering/renderer_rd/shaders/forward_clustered/SCsub index 741da8fe69..f06a2d86e2 100644 --- a/servers/rendering/renderer_rd/shaders/forward_clustered/SCsub +++ b/servers/rendering/renderer_rd/shaders/forward_clustered/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] |