summaryrefslogtreecommitdiff
path: root/drivers/gles3/shaders
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2022-07-02 16:01:26 +0200
committerRémi Verschelde <rverschelde@gmail.com>2022-07-02 16:01:48 +0200
commit6bbfd160b074bd00f98cc76757b7bb3a0f95338a (patch)
treeb3baae7ac64f2b3a082df9881b630fccca8f248d /drivers/gles3/shaders
parent2b31c88982e4fdcbc8f0d7ba5d02cfd451a1df88 (diff)
SCons: Properly track codegen script dependency for generated GLSL headers
Diffstat (limited to 'drivers/gles3/shaders')
-rw-r--r--drivers/gles3/shaders/SCsub2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gles3/shaders/SCsub b/drivers/gles3/shaders/SCsub
index d8dd573f57..83ffe8b1e1 100644
--- a/drivers/gles3/shaders/SCsub
+++ b/drivers/gles3/shaders/SCsub
@@ -10,7 +10,7 @@ if "GLES3_GLSL" in env["BUILDERS"]:
glsl_files = [str(f) for f in Glob("*.glsl") if str(f) not in gl_include_files]
# make sure we recompile shaders if include files change
- env.Depends([f + ".gen.h" for f in glsl_files], gl_include_files)
+ env.Depends([f + ".gen.h" for f in glsl_files], gl_include_files + ["#gles3_builders.py"])
env.GLES3_GLSL("canvas.glsl")
env.GLES3_GLSL("copy.glsl")