mkxp-z/shader/meson.build
Splendide Imaginarius f26a9a8e1c
Add Lanczos3 scaling (#9)
"Lanczos filtering tends to yield much better quality (sharper image) than bilinear filtering."
2023-05-05 15:39:42 -04:00

45 lines
956 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',
'lanczos3.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