test: update slang-shaders repo
This commit is contained in:
parent
51d112fb7d
commit
3d0bdd0eac
|
@ -33,7 +33,7 @@ mod tests {
|
||||||
#[test]
|
#[test]
|
||||||
fn triangle_d3d11() {
|
fn triangle_d3d11() {
|
||||||
let sample = hello_triangle::d3d11_hello_triangle::Sample::new(
|
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",
|
// "../test/basic.slangp",
|
||||||
Some(&FilterChainOptionsD3D11 {
|
Some(&FilterChainOptionsD3D11 {
|
||||||
use_deferred_context: false,
|
use_deferred_context: false,
|
||||||
|
|
|
@ -60,8 +60,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/"
|
"../../../slang-shaders/crt/crt-lottes.slangp",
|
||||||
"gameboy-player-crt-royale.slangp",
|
|
||||||
&preset);
|
&preset);
|
||||||
|
|
||||||
libra_d3d11_filter_chain_t filter_chain;
|
libra_d3d11_filter_chain_t filter_chain;
|
||||||
|
@ -393,7 +392,7 @@ int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance,
|
||||||
MSG msg;
|
MSG msg;
|
||||||
|
|
||||||
while (PeekMessageA(&msg, nullptr, 0, 0, PM_REMOVE)) {
|
while (PeekMessageA(&msg, nullptr, 0, 0, PM_REMOVE)) {
|
||||||
if (msg.message == WM_KEYDOWN) return 0;
|
//if (msg.message == WM_KEYDOWN) return 0;
|
||||||
DispatchMessageA(&msg);
|
DispatchMessageA(&msg);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
Subproject commit 9e89aafe0f6a63645445ca8302b88e4060274c72
|
Subproject commit 39fd0bef8f7615062193b829c5f5ebfaa4a56949
|
Loading…
Reference in a new issue