1
0
mirror of https://github.com/doitsujin/dxvk.git synced 2025-03-13 19:29:14 +01:00

[build] Always use glslang with --quiet

We depend on a new enough glslang anyway.
This commit is contained in:
Georg Lehmann 2022-10-21 13:42:15 +02:00 committed by Philip Rebohle
parent e311f25287
commit 2653628041

View File

@ -133,10 +133,13 @@ dll_ext = ''
def_spec_ext = '.def'
glsl_compiler = find_program('glslangValidator')
glsl_args = [ '--target-env', 'vulkan1.2', '--vn', '@BASENAME@', '@INPUT@', '-o', '@OUTPUT@' ]
if run_command(glsl_compiler, [ '--quiet', '--version' ], check : false).returncode() == 0
glsl_args += [ '--quiet' ]
endif
glsl_args = [
'--quiet',
'--target-env', 'vulkan1.2',
'--vn', '@BASENAME@',
'@INPUT@',
'-o', '@OUTPUT@',
]
glsl_generator = generator(glsl_compiler,
output : [ '@BASENAME@.h' ],
arguments : glsl_args,