mkxp-z/shader/meson.build
Aeodyn 050da27ca0 Brought the tilemap class mostly in line with Essential's CustomTilemap wrt animations, though at the cost of backwards compatibility.
(This could be rescued by per-tile animation lentghs in tilemap.vert, but this should suffice for now.)
2020-07-14 19:34:38 +00:00

44 lines
935 B
Meson

embedded_shaders = [
'common.h',
'transSimple.frag',
'trans.frag',
'hue.frag',
'sprite.frag',
'plane.frag',
'gray.frag',
'bitmapBlit.frag',
'flatColor.frag',
'simple.frag',
'simpleColor.frag',
'simpleAlpha.frag',
'simpleAlphaUni.frag',
'tilemap.frag',
'flashMap.frag',
'minimal.vert',
'simple.vert',
'simpleColor.vert',
'sprite.vert',
'tilemap.vert',
'tilemapvx.vert',
'blur.frag',
'blurH.vert',
'blurV.vert',
'simpleMatrix.vert'
]
embedded_shaders_f = files(embedded_shaders)
count = 0
foreach file : embedded_shaders_f
global_sources += custom_target(embedded_shaders[count],
input: file,
output: '@0@.xxd'.format(embedded_shaders[count]),
command: [
xxd, '-i', '@INPUT@'
],
capture: true,
depend_files: embedded_shaders_f[count]
)
count += 1
endforeach