build: Add glsl generator to root build script

Signed-off-by: Joshua Ashton <joshua@froggi.es>
This commit is contained in:
Joshua Ashton 2020-06-24 05:44:51 +01:00 committed by Hans-Kristian Arntzen
parent a46fb17973
commit e46b0ef3c5
1 changed files with 5 additions and 0 deletions

View File

@ -22,6 +22,11 @@ idl_generator = generator(idl_compiler,
output : [ '@BASENAME@.h' ],
arguments : [ '-h', '-o', '@OUTPUT@', '@INPUT@' ])
glsl_compiler = find_program('glslangValidator')
glsl_generator = generator(glsl_compiler,
output : [ '@BASENAME@.h' ],
arguments : [ '-V', '--vn', '@BASENAME@', '@INPUT@', '-o', '@OUTPUT@' ])
threads_dep = dependency('threads')
vkd3d_platform = target_machine.system()