aboutsummaryrefslogtreecommitdiffstats
path: root/examples/shaders
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2022-05-28 21:08:59 -0400
committerDavid Robillard <d@drobilla.net>2022-05-28 22:06:25 -0400
commit574bf1e11d73059ec5e6099e6806d919e1ac22b0 (patch)
tree58501a867689c2a02da561503f995adde832e202 /examples/shaders
parent460b036a8b87f5fb939088a56e3fadc5395ec90a (diff)
downloadpugl-574bf1e11d73059ec5e6099e6806d919e1ac22b0.tar.gz
pugl-574bf1e11d73059ec5e6099e6806d919e1ac22b0.tar.bz2
pugl-574bf1e11d73059ec5e6099e6806d919e1ac22b0.zip
Clean up and strengthen warning flags
Diffstat (limited to 'examples/shaders')
-rw-r--r--examples/shaders/meson.build6
1 files changed, 4 insertions, 2 deletions
diff --git a/examples/shaders/meson.build b/examples/shaders/meson.build
index 2fdd946..9121e97 100644
--- a/examples/shaders/meson.build
+++ b/examples/shaders/meson.build
@@ -32,17 +32,19 @@ if vulkan_dep.found()
build_by_default: true,
capture: true)
+ glslang_command = [glslang, '-V', '-o', '@OUTPUT@', '@INPUT@']
+
rect_vert_spv = custom_target('rect.vert.spv',
output: 'rect.vert.spv',
input: rect_vulkan_vert,
- command: [glslang, '-V', '-o', '@OUTPUT@', '@INPUT@'],
+ command: glslang_command,
build_by_default: true,
install: false)
rect_frag_spv = custom_target('rect.frag.spv',
output: 'rect.frag.spv',
input: rect_vulkan_frag,
- command: [glslang, '-V', '-o', '@OUTPUT@', '@INPUT@'],
+ command: glslang_command,
build_by_default: true,
install: false)
endif