mirror of
https://github.com/doitsujin/dxvk.git
synced 2025-03-14 22:29:15 +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'
|
def_spec_ext = '.def'
|
||||||
|
|
||||||
glsl_compiler = find_program('glslangValidator')
|
glsl_compiler = find_program('glslangValidator')
|
||||||
glsl_args = [ '--target-env', 'vulkan1.2', '--vn', '@BASENAME@', '@INPUT@', '-o', '@OUTPUT@' ]
|
glsl_args = [
|
||||||
if run_command(glsl_compiler, [ '--quiet', '--version' ], check : false).returncode() == 0
|
'--quiet',
|
||||||
glsl_args += [ '--quiet' ]
|
'--target-env', 'vulkan1.2',
|
||||||
endif
|
'--vn', '@BASENAME@',
|
||||||
|
'@INPUT@',
|
||||||
|
'-o', '@OUTPUT@',
|
||||||
|
]
|
||||||
glsl_generator = generator(glsl_compiler,
|
glsl_generator = generator(glsl_compiler,
|
||||||
output : [ '@BASENAME@.h' ],
|
output : [ '@BASENAME@.h' ],
|
||||||
arguments : glsl_args,
|
arguments : glsl_args,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user