diff --git a/ref_vk/wscript b/ref_vk/wscript index 99b9d5b9..907b685b 100644 --- a/ref_vk/wscript +++ b/ref_vk/wscript @@ -30,7 +30,7 @@ def build(bld): libs = [ 'public', 'M' ] source = bld.path.ant_glob(['*.c']) - glsl_source = bld.path.ant_glob(['shaders/*.vert', 'shaders/*.frag']) + glsl_source = bld.path.ant_glob(['shaders/*.vert', 'shaders/*.frag', 'shaders/*.comp']) includes = ['.', '../engine', @@ -60,6 +60,6 @@ def build(bld): features = 'glsl', # includes = 'shaders/', # write your includes here # defines = 'TEST', # write your C preprocessor defines here - install_path = '${LIBDIR}/valve' # TEMPORARY!!!! + install_path = bld.env.LIBDIR + '/valve' # TEMPORARY!!!! ) diff --git a/scripts/waifulib/glslc.py b/scripts/waifulib/glslc.py index 0df54771..70ec2b7c 100644 --- a/scripts/waifulib/glslc.py +++ b/scripts/waifulib/glslc.py @@ -31,7 +31,7 @@ class glsl(Task.Task): def keyword(self): return 'Compiling shader' -@TaskGen.extension('.vert', '.frag') +@TaskGen.extension('.vert', '.frag', '.comp') def process_glsl_source(self, src): # see ccroot.apply_incpaths lst = self.to_incnodes(self.to_list(getattr(self, 'includes', [])) + self.env.GLSLCINCLUDES)