librashader/librashader-preprocess/src/lib.rs

15 lines
299 B
Rust
Raw Normal View History

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