Struct spirv_tools::opt::Options [−][src]
pub struct Options {
pub validator_options: Option<ValidatorOptions>,
pub max_id_bound: Option<u32>,
pub preserve_bindings: bool,
pub preserve_spec_constants: bool,
}Expand description
Options for specifying the behavior of the optimizer
Fields
validator_options: Option<ValidatorOptions>Records the validator options that should be passed to the validator, the validator will run with the options before optimizer.
max_id_bound: Option<u32>Records the maximum possible value for the id bound.
preserve_bindings: boolRecords whether all bindings within the module should be preserved.
preserve_spec_constants: boolRecords whether all specialization constants within the module should be preserved.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Options
impl UnwindSafe for Options
Blanket Implementations
Mutably borrows from an owned value. Read more