librashader/librashader-preprocess/src/lib.rs

18 lines
340 B
Rust
Raw Normal View History

mod error;
mod include;
2022-10-21 21:04:00 -04:00
mod pragma;
pub use error::*;
#[cfg(test)]
mod test {
use crate::include::read_source;
#[test]
pub fn preprocess_file() {
2022-10-21 21:04:00 -04:00
let result =
read_source("../test/slang-shaders/blurs/shaders/royale/blur3x3-last-pass.slang")
.unwrap();
eprintln!("{result}")
}
2022-10-21 21:04:00 -04:00
}