@@ -236,7 +236,7 @@ pub enum ShaderPanicStrategy {
236
236
237
237
/// Options for specifying the behavior of the validator
238
238
/// Copied from `spirv-tools/src/val.rs` struct `ValidatorOptions`, with some fields disabled.
239
- #[ derive( Default , Clone , serde:: Deserialize , serde:: Serialize ) ]
239
+ #[ derive( Default , Debug , Clone , serde:: Deserialize , serde:: Serialize ) ]
240
240
#[ cfg_attr( feature = "clap" , derive( clap:: Parser ) ) ]
241
241
pub struct ValidatorOptions {
242
242
/// Record whether or not the validator should relax the rules on types for
@@ -312,7 +312,7 @@ pub struct ValidatorOptions {
312
312
313
313
/// Options for specifying the behavior of the optimizer
314
314
/// Copied from `spirv-tools/src/opt.rs` struct `Options`, with some fields disabled.
315
- #[ derive( Default , Clone , serde:: Deserialize , serde:: Serialize ) ]
315
+ #[ derive( Default , Debug , Clone , serde:: Deserialize , serde:: Serialize ) ]
316
316
#[ cfg_attr( feature = "clap" , derive( clap:: Parser ) ) ]
317
317
pub struct OptimizerOptions {
318
318
// /// Records the validator options that should be passed to the validator,
@@ -329,7 +329,7 @@ pub struct OptimizerOptions {
329
329
}
330
330
331
331
/// Cargo features specification for building the shader crate.
332
- #[ derive( Clone , serde:: Deserialize , serde:: Serialize ) ]
332
+ #[ derive( Clone , Debug , serde:: Deserialize , serde:: Serialize ) ]
333
333
#[ cfg_attr( feature = "clap" , derive( clap:: Parser ) ) ]
334
334
pub struct ShaderCrateFeatures {
335
335
/// Set --default-features for the target shader crate.
@@ -350,7 +350,7 @@ impl Default for ShaderCrateFeatures {
350
350
}
351
351
352
352
#[ non_exhaustive]
353
- #[ derive( Clone , serde:: Deserialize , serde:: Serialize ) ]
353
+ #[ derive( Clone , Debug , serde:: Deserialize , serde:: Serialize ) ]
354
354
#[ cfg_attr( feature = "clap" , derive( clap:: Parser ) ) ]
355
355
pub struct SpirvBuilder {
356
356
pub path_to_crate : Option < PathBuf > ,
0 commit comments