aboutsummaryrefslogtreecommitdiff
path: root/ui/shader/meson.build
blob: 592bf596b9a508abb51554e0d2a57ccc882f8277 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
shaders = [
  ['texture-blit', 'frag'],
  ['texture-blit', 'vert'],
  ['texture-blit-flip', 'vert'],
]

foreach e : shaders
  output = '@0@-@1@.h'.format(e[0], e[1])
  genh += custom_target(output,
                output: output,
                capture: true,
                input: files('@0@.@1@'.format(e[0], e[1])),
                command: [shaderinclude, '@INPUT0@'])
endforeach