diff options
author | Philip Rebohle <philip.rebohle@tu-dortmund.de> | 2022-07-15 15:19:00 +0300 |
---|---|---|
committer | Philip Rebohle <philip.rebohle@tu-dortmund.de> | 2022-07-15 17:10:16 +0300 |
commit | 10c5c17bc13a021360bfe2550e2e8c3b9a539c85 (patch) | |
tree | 81ab92d51242366cb6ec89b9b1d8226b7613dbea /meson.build | |
parent | 5ecd11fbd09f1d8cc6fdfdbd38572be399bc4af1 (diff) |
[meta] Build meta shaders against Vulkan 1.2
Silences some validation errors regarding layer export.
Diffstat (limited to 'meson.build')
-rw-r--r-- | meson.build | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meson.build b/meson.build index 13b1edd8..b6134233 100644 --- a/meson.build +++ b/meson.build @@ -82,7 +82,7 @@ dll_ext = '' def_spec_ext = '.def' glsl_compiler = find_program('glslangValidator') -glsl_args = [ '-V', '--vn', '@BASENAME@', '@INPUT@', '-o', '@OUTPUT@' ] +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 |