librashader/librashader-runtime-dx11/src/lib.rs

30 lines
731 B
Rust
Raw Normal View History

2022-11-22 17:56:39 +11:00
#![feature(type_alias_impl_trait)]
mod filter_chain;
use librashader_preprocess::ShaderSource;
2022-11-07 16:25:11 +11:00
use librashader_presets::ShaderPassConfig;
2022-11-22 08:53:36 +11:00
use librashader_reflect::back::targets::HLSL;
use librashader_reflect::back::{CompileShader, FromCompilation};
2022-11-22 08:21:50 +11:00
use rustc_hash::FxHashMap;
use std::error::Error;
use std::path::Path;
use librashader_reflect::front::shaderc::GlslangCompilation;
2022-11-07 16:25:11 +11:00
2022-11-22 08:53:36 +11:00
use librashader_reflect::reflect::semantics::{ReflectSemantics, SemanticMap, TextureSemantics, UniformSemantic, VariableSemantics};
use librashader_reflect::reflect::ReflectShader;
2022-11-07 16:25:11 +11:00
2022-11-22 17:56:39 +11:00
#[cfg(test)]
mod hello_triangle;
2022-11-07 16:25:11 +11:00
#[cfg(test)]
mod tests {
use super::*;
#[test]
2022-11-22 17:56:39 +11:00
fn triangle_dx11() {
hello_triangle::main().unwrap();
2022-11-07 16:25:11 +11:00
}
}