swayfx/sway/desktop/fx_renderer/shaders/meson.build

26 lines
511 B
Meson
Raw Normal View History

embed = find_program('./embed.sh', native: true)
shaders = [
'blur1.frag',
'blur2.frag',
2023-03-21 03:30:40 +11:00
'box_shadow.frag',
2022-12-12 06:59:11 +11:00
'common.vert',
2023-03-21 03:30:40 +11:00
'corner.frag',
'quad.frag',
'quad_round.frag',
2023-03-21 03:30:40 +11:00
'tex.frag',
]
foreach name : shaders
output = name.underscorify() + '_src.h'
var = name.underscorify() + '_src'
sway_sources += custom_target(
output,
command: [embed, var],
input: name,
output: output,
feed: true,
capture: true,
)
endforeach