mkxp-z/shader
刘皓 f162e8a494
Replace xxd with a custom executable
This removes the need to have xxd installed and provides a portable way
to specify the name of the output array (xxd has an `-n` option for
this, but it isn't present in older versions of xxd), which helps reduce
the possibility of symbol conflicts in libretro builds and also prevents
portability issues since the name of xxd's output array depends on the
relative path to the input file, which can break if Meson changes the
structure of the build directory or if the user sets the build directory
to a different location.

Also, this custom executable declares the array as const so that it goes
into the read-only data section of the binary instead of the data
section.
2025-02-27 22:55:22 -05:00
..
bicubic.frag Lanczos3/bicubic shaders: Only set default precision on GLES 2023-11-14 00:10:10 +00:00
bitmapBlit.frag Revert to using GL compatibility contexts (and GLES2) 2020-11-16 21:56:19 -05:00
blur.frag Revert to using GL compatibility contexts (and GLES2) 2020-11-16 21:56:19 -05:00
blurH.vert Fix shader code. Thanks Mesa! 2013-10-02 15:00:17 +02:00
blurV.vert Fix shader code. Thanks Mesa! 2013-10-02 15:00:17 +02:00
common.h Fix precision issues in vertex shaders 2023-11-12 09:27:12 -05:00
flashMap.frag Revert to using GL compatibility contexts (and GLES2) 2020-11-16 21:56:19 -05:00
flatColor.frag Revert to using GL compatibility contexts (and GLES2) 2020-11-16 21:56:19 -05:00
gray.frag Revert to using GL compatibility contexts (and GLES2) 2020-11-16 21:56:19 -05:00
hue.frag Revert to using GL compatibility contexts (and GLES2) 2020-11-16 21:56:19 -05:00
lanczos3.frag Lanczos3/bicubic shaders: Only set default precision on GLES 2023-11-14 00:10:10 +00:00
meson.build Replace xxd with a custom executable 2025-02-27 22:55:22 -05:00
minimal.vert Revert to using GL compatibility contexts (and GLES2) 2020-11-16 21:56:19 -05:00
plane.frag Revert to using GL compatibility contexts (and GLES2) 2020-11-16 21:56:19 -05:00
simple.frag Revert to using GL compatibility contexts (and GLES2) 2020-11-16 21:56:19 -05:00
simple.vert Remove unneeded shader uniform 2013-09-28 15:41:09 +02:00
simpleAlpha.frag Revert to using GL compatibility contexts (and GLES2) 2020-11-16 21:56:19 -05:00
simpleAlphaUni.frag Revert to using GL compatibility contexts (and GLES2) 2020-11-16 21:56:19 -05:00
simpleColor.frag Revert to using GL compatibility contexts (and GLES2) 2020-11-16 21:56:19 -05:00
simpleColor.vert Shader: Refine preprocessing on GLES platform 2014-12-31 18:52:19 +01:00
simpleMatrix.vert Shader: Refine preprocessing on GLES platform 2014-12-31 18:52:19 +01:00
sprite.frag make pattern subtract blend mode actually subtract 2022-01-18 03:28:05 -05:00
sprite.vert add Sprite.pattern_blend_type 2021-11-29 21:58:18 -05:00
tilemap.frag Revert to using GL compatibility contexts (and GLES2) 2020-11-16 21:56:19 -05:00
tilemap.vert Revert to using GL compatibility contexts (and GLES2) 2020-11-16 21:56:19 -05:00
tilemapvx.vert Shaders: Prefer arithmetic conditionals to branching 2014-12-31 18:52:20 +01:00
trans.frag Revert to using GL compatibility contexts (and GLES2) 2020-11-16 21:56:19 -05:00
transSimple.frag Revert to using GL compatibility contexts (and GLES2) 2020-11-16 21:56:19 -05:00
xbrz.frag Add xBRZ shader 2024-01-13 05:53:09 +00:00