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:
parent
e311f25287
commit
2653628041
11
meson.build
11
meson.build
@ -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,
|
||||
|
Loading…
x
Reference in New Issue
Block a user