librashader/librashader-runtime-d3d12/tests/triangle.rs

23 lines
845 B
Rust
Raw Normal View History

mod hello_triangle;
use crate::hello_triangle::{DXSample, SampleCommandLine};
#[test]
fn triangle_d3d12() {
let sample = hello_triangle::d3d12_hello_triangle::Sample::new(
2023-04-23 15:17:12 +10:00
//"../test/shaders_slang/crt/crt-lottes.slangp",
// "../test/basic.slangp",
2023-07-20 15:13:22 +10:00
"../test/shaders_slang/handheld/console-border/gbc-lcd-grid-v2.slangp",
2023-04-23 15:13:31 +10:00
// "../test/Mega_Bezel_Packs/Duimon-Mega-Bezel/Presets/Advanced/Nintendo_GBA_SP/GBA_SP-[ADV]-[LCD-GRID]-[Night].slangp",
// "../test/slang-shaders/test/feedback.slangp",
// "../test/slang-shaders/test/history.slangp",
2023-04-23 15:13:31 +10:00
// "../test/shaders_slang/crt/crt-royale.slangp",
// "../test/slang-shaders/vhs/VHSPro.slangp",
&SampleCommandLine {
use_warp_device: false,
},
)
2023-07-20 15:13:22 +10:00
.unwrap();
hello_triangle::main(sample).unwrap()
}