mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-07 01:33:56 -06:00
meson: generate shader headers
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
This commit is contained in:
parent
2c273f32d3
commit
650b5d548e
4 changed files with 18 additions and 19 deletions
15
ui/shader/meson.build
Normal file
15
ui/shader/meson.build
Normal file
|
@ -0,0 +1,15 @@
|
|||
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,
|
||||
build_by_default: true, # to be removed when added to a target
|
||||
input: files('@0@.@1@'.format(e[0], e[1])),
|
||||
command: [shaderinclude, '@INPUT0@'])
|
||||
endforeach
|
Loading…
Add table
Add a link
Reference in a new issue