@@ -236,7 +236,7 @@ pub enum ShaderPanicStrategy {
236236
237237/// Options for specifying the behavior of the validator
238238/// 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 ) ]
240240#[ cfg_attr( feature = "clap" , derive( clap:: Parser ) ) ]
241241pub struct ValidatorOptions {
242242 /// Record whether or not the validator should relax the rules on types for
@@ -312,7 +312,7 @@ pub struct ValidatorOptions {
312312
313313/// Options for specifying the behavior of the optimizer
314314/// 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 ) ]
316316#[ cfg_attr( feature = "clap" , derive( clap:: Parser ) ) ]
317317pub struct OptimizerOptions {
318318 // /// Records the validator options that should be passed to the validator,
@@ -329,7 +329,7 @@ pub struct OptimizerOptions {
329329}
330330
331331/// Cargo features specification for building the shader crate.
332- #[ derive( Clone , serde:: Deserialize , serde:: Serialize ) ]
332+ #[ derive( Clone , Debug , serde:: Deserialize , serde:: Serialize ) ]
333333#[ cfg_attr( feature = "clap" , derive( clap:: Parser ) ) ]
334334pub struct ShaderCrateFeatures {
335335 /// Set --default-features for the target shader crate.
@@ -350,7 +350,7 @@ impl Default for ShaderCrateFeatures {
350350}
351351
352352#[ non_exhaustive]
353- #[ derive( Clone , serde:: Deserialize , serde:: Serialize ) ]
353+ #[ derive( Clone , Debug , serde:: Deserialize , serde:: Serialize ) ]
354354#[ cfg_attr( feature = "clap" , derive( clap:: Parser ) ) ]
355355pub struct SpirvBuilder {
356356 pub path_to_crate : Option < PathBuf > ,
0 commit comments