diff --git a/test/capi-tests/imgui/examples/example_win32_directx11/main.cpp b/test/capi-tests/imgui/examples/example_win32_directx11/main.cpp index 1a953fd..7130e7d 100644 --- a/test/capi-tests/imgui/examples/example_win32_directx11/main.cpp +++ b/test/capi-tests/imgui/examples/example_win32_directx11/main.cpp @@ -67,8 +67,11 @@ int main(int, char**) auto libra = librashader_load_instance(); libra_shader_preset_t preset; 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; filter_chain_d3d11_opt_t opt = { .force_no_mipmaps = false, diff --git a/test/capi-tests/librashader-capi-tests/dx11-example-2/code.cpp b/test/capi-tests/librashader-capi-tests/dx11-example-2/code.cpp index 4f3650d..7aa7dd6 100644 --- a/test/capi-tests/librashader-capi-tests/dx11-example-2/code.cpp +++ b/test/capi-tests/librashader-capi-tests/dx11-example-2/code.cpp @@ -63,7 +63,7 @@ int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, auto libra = librashader_load_instance(); libra_shader_preset_t preset; auto error = libra.preset_create( - "../../../slang-shaders/crt/crt-royale.slangp", + "../../../shaders_slang/crt/crt-royale.slangp", &preset); libra_d3d11_filter_chain_t filter_chain; diff --git a/test/capi-tests/librashader-capi-tests/dx11-example/main.cpp b/test/capi-tests/librashader-capi-tests/dx11-example/main.cpp index c812df7..4d70ab4 100644 --- a/test/capi-tests/librashader-capi-tests/dx11-example/main.cpp +++ b/test/capi-tests/librashader-capi-tests/dx11-example/main.cpp @@ -135,7 +135,7 @@ int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE /*hPrevInstance*/, auto libra = librashader_load_instance(); libra_shader_preset_t preset; auto error = libra.preset_create( - "../../../slang-shaders/border/gameboy-player/" + "../../../shaders_slang/border/gameboy-player/" "gameboy-player-crt-royale.slangp", &preset); diff --git a/test/capi-tests/librashader-capi-tests/librashader-capi-tests/librashader-capi-tests.cpp b/test/capi-tests/librashader-capi-tests/librashader-capi-tests/librashader-capi-tests.cpp index b02decd..044a228 100644 --- a/test/capi-tests/librashader-capi-tests/librashader-capi-tests/librashader-capi-tests.cpp +++ b/test/capi-tests/librashader-capi-tests/librashader-capi-tests/librashader-capi-tests.cpp @@ -17,7 +17,7 @@ int main() auto instance = librashader_load_instance(); libra_shader_preset_t preset; auto error = instance.preset_create( - "../../../slang-shaders/border/gameboy-player/" + "../../../shaders_slang/border/gameboy-player/" "gameboy-player-crt-royale.slangp", &preset);