Module spirv_tools_sys::opt
source · [−]Structs
Enums
Functions
Creates an optimizer options object with default options. Returns a valid
options object. The object remains valid until it is passed into
|spvOptimizerOptionsDestroy|.
Destroys the given optimizer options object.
Records whether all bindings within the module should be preserved.
Records whether all specialization constants within the module
should be preserved.
Records whether or not the optimizer should run the validator before
optimizing. If |val| is true, the validator will be run.
Records the maximum possible value for the id bound.
Records the validator options that should be passed to the validator if it is
run.
Registers passes that attempt to legalize the generated code.
Registers passes that attempt to improve performance of generated code.
This sequence of passes is subject to constant review and will change
from time to time.
Registers passes that attempt to improve the size of generated code.
This sequence of passes is subject to constant review and will change
from time to time.
Registers passes that have been prescribed for converting from Vulkan to
WebGPU. This sequence of passes is subject to constant review and will
change from time to time.
Registers passes that have been prescribed for converting from WebGPU to
Vulkan. This sequence of passes is subject to constant review and will
change from time to time.