2023-02-16 16:39:36 +11:00
|
|
|
mod hello_triangle;
|
|
|
|
|
|
|
|
use crate::hello_triangle::{DXSample, SampleCommandLine};
|
|
|
|
|
|
|
|
#[test]
|
|
|
|
fn triangle_d3d12() {
|
|
|
|
let sample = hello_triangle::d3d12_hello_triangle::Sample::new(
|
2024-09-12 08:56:43 +10:00
|
|
|
// "../test/shaders_slang/bezel/Mega_Bezel/Presets/MBZ__0__SMOOTH-ADV.slangp",
|
2024-08-25 15:24:05 +10:00
|
|
|
// "../test/shaders_slang/crt/crt-lottes.slangp",
|
2023-02-16 16:39:36 +11:00
|
|
|
// "../test/basic.slangp",
|
2023-12-14 11:24:00 +11: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",
|
2024-09-12 13:44:33 +10:00
|
|
|
// "../test/shaders_slang/test/feedback.slangp",
|
2024-03-08 12:56:30 +11:00
|
|
|
// "../test/shaders_slang/test/history.slangp",
|
2024-09-12 13:44:33 +10:00
|
|
|
"../test/shaders_slang/crt/crt-geom-deluxe.slangp",
|
2023-02-16 16:39:36 +11:00
|
|
|
// "../test/slang-shaders/vhs/VHSPro.slangp",
|
|
|
|
&SampleCommandLine {
|
|
|
|
use_warp_device: false,
|
|
|
|
},
|
|
|
|
)
|
2023-07-20 15:13:22 +10:00
|
|
|
.unwrap();
|
2023-02-16 16:39:36 +11:00
|
|
|
hello_triangle::main(sample).unwrap()
|
2023-02-17 09:33:47 +11:00
|
|
|
}
|