diff options
Diffstat (limited to 'render/gles2/shaders/meson.build')
-rw-r--r-- | render/gles2/shaders/meson.build | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/render/gles2/shaders/meson.build b/render/gles2/shaders/meson.build new file mode 100644 index 00000000..626c2b14 --- /dev/null +++ b/render/gles2/shaders/meson.build @@ -0,0 +1,23 @@ +embed = find_program('./embed.sh', native: true) + +shaders = [ + 'quad.vert', + 'quad.frag', + 'tex.vert', + 'tex_rgba.frag', + 'tex_rgbx.frag', + 'tex_external.frag', +] + +foreach name : shaders + output = name.underscorify() + '_src.h' + var = name.underscorify() + '_src' + wlr_files += custom_target( + output, + command: [embed, var], + input: name, + output: output, + feed: true, + capture: true, + ) +endforeach |