test: fix some paths to test shaders

This commit is contained in:
chyyran 2023-02-16 21:32:05 -05:00
parent af6f58981e
commit 8cff5a47a8
4 changed files with 7 additions and 4 deletions

View file

@ -67,8 +67,11 @@ int main(int, char**)
auto libra = librashader_load_instance(); auto libra = librashader_load_instance();
libra_shader_preset_t preset; libra_shader_preset_t preset;
auto error = libra.preset_create( auto error = libra.preset_create(
"../../../../../../slang-shaders/bezel/Mega_Bezel/Presets/MBZ__0__SMOOTH-ADV-GLASS.slangp", &preset); "../../../../shaders_slang/bezel/Mega_Bezel/Presets/MBZ__0__SMOOTH-ADV.slangp", &preset);
if (error != NULL) {
libra.error_print(error);
}
libra_d3d11_filter_chain_t filter_chain = NULL; libra_d3d11_filter_chain_t filter_chain = NULL;
filter_chain_d3d11_opt_t opt = { filter_chain_d3d11_opt_t opt = {
.force_no_mipmaps = false, .force_no_mipmaps = false,

View file

@ -63,7 +63,7 @@ int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance,
auto libra = librashader_load_instance(); auto libra = librashader_load_instance();
libra_shader_preset_t preset; libra_shader_preset_t preset;
auto error = libra.preset_create( auto error = libra.preset_create(
"../../../slang-shaders/crt/crt-royale.slangp", "../../../shaders_slang/crt/crt-royale.slangp",
&preset); &preset);
libra_d3d11_filter_chain_t filter_chain; libra_d3d11_filter_chain_t filter_chain;

View file

@ -135,7 +135,7 @@ int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE /*hPrevInstance*/,
auto libra = librashader_load_instance(); auto libra = librashader_load_instance();
libra_shader_preset_t preset; libra_shader_preset_t preset;
auto error = libra.preset_create( auto error = libra.preset_create(
"../../../slang-shaders/border/gameboy-player/" "../../../shaders_slang/border/gameboy-player/"
"gameboy-player-crt-royale.slangp", "gameboy-player-crt-royale.slangp",
&preset); &preset);

View file

@ -17,7 +17,7 @@ int main()
auto instance = librashader_load_instance(); auto instance = librashader_load_instance();
libra_shader_preset_t preset; libra_shader_preset_t preset;
auto error = instance.preset_create( auto error = instance.preset_create(
"../../../slang-shaders/border/gameboy-player/" "../../../shaders_slang/border/gameboy-player/"
"gameboy-player-crt-royale.slangp", "gameboy-player-crt-royale.slangp",
&preset); &preset);