swayfx/sway/desktop/fx_renderer/shaders/meson.build
Erik Reider cbfb7af7fd
Add kawase blur (#120)
Co-authored-by: Erik Reider <erik.reider@protonmail.com>
Co-authored-by: Will McKinnon <contact@willmckinnon.com>
2023-04-17 23:24:48 +02:00

26 lines
511 B
Meson

embed = find_program('./embed.sh', native: true)
shaders = [
'blur1.frag',
'blur2.frag',
'box_shadow.frag',
'common.vert',
'corner.frag',
'quad.frag',
'quad_round.frag',
'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