aboutsummaryrefslogtreecommitdiff
path: root/render/gles2/shaders/meson.build
blob: 79454d9aaaa52e742c4e2f6eccbf56c1163aaabf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
embed = find_program('./embed.sh', native: true)

shaders = [
	'common.vert',
	'quad.frag',
	'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