2019-07-15 16:36:47 +03:00
|
|
|
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])),
|
2023-10-11 16:53:01 +03:00
|
|
|
build_by_default: false,
|
2019-07-15 16:36:47 +03:00
|
|
|
command: [shaderinclude, '@INPUT0@'])
|
|
|
|
endforeach
|