Skip to content

Commit 658a2be

Browse files
committed
[add] features back for conditionally compiling naga.
1 parent 85484fe commit 658a2be

File tree

1 file changed

+3
-0
lines changed
  • crates/lambda-rs-platform/src/shader

1 file changed

+3
-0
lines changed

crates/lambda-rs-platform/src/shader/mod.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,10 @@ pub use types::{
66
VirtualShader,
77
};
88

9+
#[cfg(feature = "shader-backend-naga")]
910
mod naga;
11+
12+
#[cfg(feature = "shader-backend-naga")]
1013
pub use naga::{
1114
ShaderCompiler,
1215
ShaderCompilerBuilder,

0 commit comments

Comments
 (0)