test: update slang-shaders repo

This commit is contained in:
chyyran 2023-01-27 00:07:12 -05:00
parent 51d112fb7d
commit 3d0bdd0eac
3 changed files with 4 additions and 5 deletions

View file

@ -33,7 +33,7 @@ mod tests {
#[test]
fn triangle_d3d11() {
let sample = hello_triangle::d3d11_hello_triangle::Sample::new(
"../test/slang-shaders/bezel/Mega_Bezel/Presets/MBZ__0__SMOOTH-ADV.slangp",
"../test/slang-shaders/crt/crt-lottes.slangp",
// "../test/basic.slangp",
Some(&FilterChainOptionsD3D11 {
use_deferred_context: false,

View file

@ -60,8 +60,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/"
"gameboy-player-crt-royale.slangp",
"../../../slang-shaders/crt/crt-lottes.slangp",
&preset);
libra_d3d11_filter_chain_t filter_chain;
@ -393,7 +392,7 @@ int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance,
MSG msg;
while (PeekMessageA(&msg, nullptr, 0, 0, PM_REMOVE)) {
if (msg.message == WM_KEYDOWN) return 0;
//if (msg.message == WM_KEYDOWN) return 0;
DispatchMessageA(&msg);
}

@ -1 +1 @@
Subproject commit 9e89aafe0f6a63645445ca8302b88e4060274c72
Subproject commit 39fd0bef8f7615062193b829c5f5ebfaa4a56949