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:
parent
6339c8ec17
commit
730f5cc418
@ -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,
|
||||
|
Loading…
x
Reference in New Issue
Block a user