1
0
mirror of https://github.com/doitsujin/dxvk.git synced 2025-02-20 10:54:16 +01:00

[build] conditionally enable --quiet for glslang

This commit is contained in:
Georg Lehmann 2021-04-21 12:14:43 +02:00 committed by Philip Rebohle
parent 6339c8ec17
commit 730f5cc418

View File

@ -107,9 +107,13 @@ endif
def_spec_ext = '.def'
glsl_compiler = find_program('glslangValidator')
glsl_args = [ '-V', '--vn', '@BASENAME@', '@INPUT@', '-o', '@OUTPUT@' ]
if run_command(glsl_compiler, [ '--quiet', '--version' ]).returncode() == 0
glsl_args += [ '--quiet' ]
endif
glsl_generator = generator(glsl_compiler,
output : [ '@BASENAME@.h' ],
arguments : [ '-V', '--vn', '@BASENAME@', '@INPUT@', '-o', '@OUTPUT@' ])
arguments : glsl_args)
if dxvk_is_msvc
wrc_generator = generator(wrc,