File tree 1 file changed +3
-0
lines changed
1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -369,6 +369,7 @@ pub struct SpirvBuilder {
369
369
pub target : Option < String > ,
370
370
/// Cargo features specification for building the shader crate.
371
371
#[ cfg_attr( feature = "clap" , clap( flatten) ) ]
372
+ #[ serde( flatten) ]
372
373
pub shader_crate_features : ShaderCrateFeatures ,
373
374
/// Deny any warnings, as they may never be printed when building within a build script. Defaults to false.
374
375
#[ cfg_attr( feature = "clap" , arg( long, default_value = "false" ) ) ]
@@ -416,10 +417,12 @@ pub struct SpirvBuilder {
416
417
417
418
/// spirv-val flags
418
419
#[ cfg_attr( feature = "clap" , clap( flatten) ) ]
420
+ #[ serde( flatten) ]
419
421
pub validator : ValidatorOptions ,
420
422
421
423
/// spirv-opt flags
422
424
#[ cfg_attr( feature = "clap" , clap( flatten) ) ]
425
+ #[ serde( flatten) ]
423
426
pub optimizer : OptimizerOptions ,
424
427
}
425
428
You can’t perform that action at this time.
0 commit comments