diff --git a/src/osd/modules/render/bgfx/shaders/fs_blit.sc b/src/osd/modules/render/bgfx/shaders/fs_blit.sc index a6835ff890d..9af7bcf0ee6 100644 --- a/src/osd/modules/render/bgfx/shaders/fs_blit.sc +++ b/src/osd/modules/render/bgfx/shaders/fs_blit.sc @@ -3,7 +3,7 @@ $input v_color0, v_texcoord0 // license:BSD-3-Clause // copyright-holders:Dario Manesku -#include "../../../../../../3rdparty/bgfx/examples/common/common.sh" +#include "common.sh" // Samplers SAMPLER2D(s_tex, 0); diff --git a/src/osd/modules/render/bgfx/shaders/fs_color.sc b/src/osd/modules/render/bgfx/shaders/fs_color.sc index 65c128a6a2a..faa707f5aa1 100644 --- a/src/osd/modules/render/bgfx/shaders/fs_color.sc +++ b/src/osd/modules/render/bgfx/shaders/fs_color.sc @@ -6,7 +6,7 @@ $input v_color0, v_texcoord0 // Color Convolution Effect //----------------------------------------------------------------------------- -#include "../../../../../../3rdparty/bgfx/examples/common/common.sh" +#include "common.sh" // User-supplied uniform vec4 u_red_ratios; diff --git a/src/osd/modules/render/bgfx/shaders/fs_deconverge.sc b/src/osd/modules/render/bgfx/shaders/fs_deconverge.sc index b23e24951c3..0f7d5c4854f 100644 --- a/src/osd/modules/render/bgfx/shaders/fs_deconverge.sc +++ b/src/osd/modules/render/bgfx/shaders/fs_deconverge.sc @@ -6,7 +6,7 @@ $input v_color0, v_texcoord0, v_texcoord1, v_texcoord2, v_texcoord3 // Deconvergence Effect //----------------------------------------------------------------------------- -#include "../../../../../../3rdparty/bgfx/examples/common/common.sh" +#include "common.sh" // Samplers SAMPLER2D(s_tex, 0); diff --git a/src/osd/modules/render/bgfx/shaders/fs_defocus.sc b/src/osd/modules/render/bgfx/shaders/fs_defocus.sc index c9e76990f3f..77130d98d13 100644 --- a/src/osd/modules/render/bgfx/shaders/fs_defocus.sc +++ b/src/osd/modules/render/bgfx/shaders/fs_defocus.sc @@ -6,7 +6,7 @@ $input v_color0, v_texcoord0 // Defocus Effect //----------------------------------------------------------------------------- -#include "../../../../../../3rdparty/bgfx/examples/common/common.sh" +#include "common.sh" // Autos uniform vec4 u_tex_size0; diff --git a/src/osd/modules/render/bgfx/shaders/fs_distortion.sc b/src/osd/modules/render/bgfx/shaders/fs_distortion.sc index 8f4efa04cd3..0f69c288c5b 100644 --- a/src/osd/modules/render/bgfx/shaders/fs_distortion.sc +++ b/src/osd/modules/render/bgfx/shaders/fs_distortion.sc @@ -6,7 +6,7 @@ $input v_color0, v_texcoord0 // Distortion Effect //----------------------------------------------------------------------------- -#include "../../../../../../3rdparty/bgfx/examples/common/common.sh" +#include "common.sh" // Autos uniform vec4 u_swap_xy; diff --git a/src/osd/modules/render/bgfx/shaders/fs_gui.sc b/src/osd/modules/render/bgfx/shaders/fs_gui.sc index a6285212d2f..ab1bff59dee 100644 --- a/src/osd/modules/render/bgfx/shaders/fs_gui.sc +++ b/src/osd/modules/render/bgfx/shaders/fs_gui.sc @@ -3,7 +3,7 @@ $input v_color0, v_texcoord0 // license:BSD-3-Clause // copyright-holders:Dario Manesku -#include "../../../../../../3rdparty/bgfx/examples/common/common.sh" +#include "common.sh" // Samplers SAMPLER2D(s_tex, 0); diff --git a/src/osd/modules/render/bgfx/shaders/fs_ntsc_decode.sc b/src/osd/modules/render/bgfx/shaders/fs_ntsc_decode.sc index 1c6a53fba29..b196674a094 100644 --- a/src/osd/modules/render/bgfx/shaders/fs_ntsc_decode.sc +++ b/src/osd/modules/render/bgfx/shaders/fs_ntsc_decode.sc @@ -6,7 +6,7 @@ $input v_color0, v_texcoord0 // NTSC Decode Effect //----------------------------------------------------------------------------- -#include "../../../../../../3rdparty/bgfx/examples/common/common.sh" +#include "common.sh" // Autos uniform vec4 u_source_dims; diff --git a/src/osd/modules/render/bgfx/shaders/fs_ntsc_encode.sc b/src/osd/modules/render/bgfx/shaders/fs_ntsc_encode.sc index 21bbb39240e..61964c10c30 100644 --- a/src/osd/modules/render/bgfx/shaders/fs_ntsc_encode.sc +++ b/src/osd/modules/render/bgfx/shaders/fs_ntsc_encode.sc @@ -8,7 +8,7 @@ $input v_color0, v_texcoord0 // NB: intentionally wasteful of uniforms in order for easier slider utilization -#include "../../../../../../3rdparty/bgfx/examples/common/common.sh" +#include "common.sh" // Autos uniform vec4 u_source_dims; diff --git a/src/osd/modules/render/bgfx/shaders/fs_phosphor.sc b/src/osd/modules/render/bgfx/shaders/fs_phosphor.sc index 4e752d94137..52b624b644b 100644 --- a/src/osd/modules/render/bgfx/shaders/fs_phosphor.sc +++ b/src/osd/modules/render/bgfx/shaders/fs_phosphor.sc @@ -3,7 +3,7 @@ $input v_color0, v_texcoord0 // license:BSD-3-Clause // copyright-holders:Dario Manesku -#include "../../../../../../3rdparty/bgfx/examples/common/common.sh" +#include "common.sh" // User-supplied uniform vec4 u_passthrough; diff --git a/src/osd/modules/render/bgfx/shaders/fs_post.sc b/src/osd/modules/render/bgfx/shaders/fs_post.sc index 27c71a61eba..e4a3a984e6b 100644 --- a/src/osd/modules/render/bgfx/shaders/fs_post.sc +++ b/src/osd/modules/render/bgfx/shaders/fs_post.sc @@ -6,7 +6,7 @@ $input v_color0, v_texcoord0 // Defocus Effect //----------------------------------------------------------------------------- -#include "../../../../../../3rdparty/bgfx/examples/common/common.sh" +#include "common.sh" // Autos uniform vec4 u_swap_xy; diff --git a/src/osd/modules/render/bgfx/shaders/fs_prescale.sc b/src/osd/modules/render/bgfx/shaders/fs_prescale.sc index 1d8370dacf4..e17d867b621 100644 --- a/src/osd/modules/render/bgfx/shaders/fs_prescale.sc +++ b/src/osd/modules/render/bgfx/shaders/fs_prescale.sc @@ -3,7 +3,7 @@ $input v_color0, v_texcoord0 // license:BSD-3-Clause // copyright-holders:Dario Manesku -#include "../../../../../../3rdparty/bgfx/examples/common/common.sh" +#include "common.sh" // Samplers SAMPLER2D(s_tex, 0); diff --git a/src/osd/modules/render/bgfx/shaders/fs_screen.sc b/src/osd/modules/render/bgfx/shaders/fs_screen.sc index d0eaa170d49..52dac92785c 100644 --- a/src/osd/modules/render/bgfx/shaders/fs_screen.sc +++ b/src/osd/modules/render/bgfx/shaders/fs_screen.sc @@ -3,7 +3,7 @@ $input v_color0, v_texcoord0 // license:BSD-3-Clause // copyright-holders:Dario Manesku -#include "../../../../../../3rdparty/bgfx/examples/common/common.sh" +#include "common.sh" // Samplers SAMPLER2D(s_tex, 0); diff --git a/src/osd/modules/render/bgfx/shaders/vs_blit.sc b/src/osd/modules/render/bgfx/shaders/vs_blit.sc index fd37320eefb..405ef8feb3b 100644 --- a/src/osd/modules/render/bgfx/shaders/vs_blit.sc +++ b/src/osd/modules/render/bgfx/shaders/vs_blit.sc @@ -4,7 +4,7 @@ $output v_texcoord0, v_color0 // license:BSD-3-Clause // copyright-holders:Dario Manesku -#include "../../../../../../3rdparty/bgfx/examples/common/common.sh" +#include "common.sh" void main() { diff --git a/src/osd/modules/render/bgfx/shaders/vs_color.sc b/src/osd/modules/render/bgfx/shaders/vs_color.sc index fd37320eefb..405ef8feb3b 100644 --- a/src/osd/modules/render/bgfx/shaders/vs_color.sc +++ b/src/osd/modules/render/bgfx/shaders/vs_color.sc @@ -4,7 +4,7 @@ $output v_texcoord0, v_color0 // license:BSD-3-Clause // copyright-holders:Dario Manesku -#include "../../../../../../3rdparty/bgfx/examples/common/common.sh" +#include "common.sh" void main() { diff --git a/src/osd/modules/render/bgfx/shaders/vs_deconverge.sc b/src/osd/modules/render/bgfx/shaders/vs_deconverge.sc index b714f84e4a6..b77d85d1ea8 100644 --- a/src/osd/modules/render/bgfx/shaders/vs_deconverge.sc +++ b/src/osd/modules/render/bgfx/shaders/vs_deconverge.sc @@ -4,7 +4,7 @@ $output v_color0, v_texcoord0, v_texcoord1, v_texcoord2, v_texcoord3 // license:BSD-3-Clause // copyright-holders:Dario Manesku -#include "../../../../../../3rdparty/bgfx/examples/common/common.sh" +#include "common.sh" // Autos uniform vec4 u_source_size; diff --git a/src/osd/modules/render/bgfx/shaders/vs_defocus.sc b/src/osd/modules/render/bgfx/shaders/vs_defocus.sc index fd37320eefb..405ef8feb3b 100644 --- a/src/osd/modules/render/bgfx/shaders/vs_defocus.sc +++ b/src/osd/modules/render/bgfx/shaders/vs_defocus.sc @@ -4,7 +4,7 @@ $output v_texcoord0, v_color0 // license:BSD-3-Clause // copyright-holders:Dario Manesku -#include "../../../../../../3rdparty/bgfx/examples/common/common.sh" +#include "common.sh" void main() { diff --git a/src/osd/modules/render/bgfx/shaders/vs_distortion.sc b/src/osd/modules/render/bgfx/shaders/vs_distortion.sc index fd37320eefb..405ef8feb3b 100644 --- a/src/osd/modules/render/bgfx/shaders/vs_distortion.sc +++ b/src/osd/modules/render/bgfx/shaders/vs_distortion.sc @@ -4,7 +4,7 @@ $output v_texcoord0, v_color0 // license:BSD-3-Clause // copyright-holders:Dario Manesku -#include "../../../../../../3rdparty/bgfx/examples/common/common.sh" +#include "common.sh" void main() { diff --git a/src/osd/modules/render/bgfx/shaders/vs_gui.sc b/src/osd/modules/render/bgfx/shaders/vs_gui.sc index fd37320eefb..405ef8feb3b 100644 --- a/src/osd/modules/render/bgfx/shaders/vs_gui.sc +++ b/src/osd/modules/render/bgfx/shaders/vs_gui.sc @@ -4,7 +4,7 @@ $output v_texcoord0, v_color0 // license:BSD-3-Clause // copyright-holders:Dario Manesku -#include "../../../../../../3rdparty/bgfx/examples/common/common.sh" +#include "common.sh" void main() { diff --git a/src/osd/modules/render/bgfx/shaders/vs_ntsc_decode.sc b/src/osd/modules/render/bgfx/shaders/vs_ntsc_decode.sc index fd37320eefb..405ef8feb3b 100644 --- a/src/osd/modules/render/bgfx/shaders/vs_ntsc_decode.sc +++ b/src/osd/modules/render/bgfx/shaders/vs_ntsc_decode.sc @@ -4,7 +4,7 @@ $output v_texcoord0, v_color0 // license:BSD-3-Clause // copyright-holders:Dario Manesku -#include "../../../../../../3rdparty/bgfx/examples/common/common.sh" +#include "common.sh" void main() { diff --git a/src/osd/modules/render/bgfx/shaders/vs_ntsc_encode.sc b/src/osd/modules/render/bgfx/shaders/vs_ntsc_encode.sc index fd37320eefb..405ef8feb3b 100644 --- a/src/osd/modules/render/bgfx/shaders/vs_ntsc_encode.sc +++ b/src/osd/modules/render/bgfx/shaders/vs_ntsc_encode.sc @@ -4,7 +4,7 @@ $output v_texcoord0, v_color0 // license:BSD-3-Clause // copyright-holders:Dario Manesku -#include "../../../../../../3rdparty/bgfx/examples/common/common.sh" +#include "common.sh" void main() { diff --git a/src/osd/modules/render/bgfx/shaders/vs_phosphor.sc b/src/osd/modules/render/bgfx/shaders/vs_phosphor.sc index fd37320eefb..405ef8feb3b 100644 --- a/src/osd/modules/render/bgfx/shaders/vs_phosphor.sc +++ b/src/osd/modules/render/bgfx/shaders/vs_phosphor.sc @@ -4,7 +4,7 @@ $output v_texcoord0, v_color0 // license:BSD-3-Clause // copyright-holders:Dario Manesku -#include "../../../../../../3rdparty/bgfx/examples/common/common.sh" +#include "common.sh" void main() { diff --git a/src/osd/modules/render/bgfx/shaders/vs_post.sc b/src/osd/modules/render/bgfx/shaders/vs_post.sc index fd37320eefb..405ef8feb3b 100644 --- a/src/osd/modules/render/bgfx/shaders/vs_post.sc +++ b/src/osd/modules/render/bgfx/shaders/vs_post.sc @@ -4,7 +4,7 @@ $output v_texcoord0, v_color0 // license:BSD-3-Clause // copyright-holders:Dario Manesku -#include "../../../../../../3rdparty/bgfx/examples/common/common.sh" +#include "common.sh" void main() { diff --git a/src/osd/modules/render/bgfx/shaders/vs_prescale.sc b/src/osd/modules/render/bgfx/shaders/vs_prescale.sc index fd37320eefb..405ef8feb3b 100644 --- a/src/osd/modules/render/bgfx/shaders/vs_prescale.sc +++ b/src/osd/modules/render/bgfx/shaders/vs_prescale.sc @@ -4,7 +4,7 @@ $output v_texcoord0, v_color0 // license:BSD-3-Clause // copyright-holders:Dario Manesku -#include "../../../../../../3rdparty/bgfx/examples/common/common.sh" +#include "common.sh" void main() { diff --git a/src/osd/modules/render/bgfx/shaders/vs_screen.sc b/src/osd/modules/render/bgfx/shaders/vs_screen.sc index fd37320eefb..405ef8feb3b 100644 --- a/src/osd/modules/render/bgfx/shaders/vs_screen.sc +++ b/src/osd/modules/render/bgfx/shaders/vs_screen.sc @@ -4,7 +4,7 @@ $output v_texcoord0, v_color0 // license:BSD-3-Clause // copyright-holders:Dario Manesku -#include "../../../../../../3rdparty/bgfx/examples/common/common.sh" +#include "common.sh" void main() {