spirv_tools_sys::opt

Function optimizer_run

Source
pub unsafe extern "C" fn optimizer_run(
    opt: *const Optimizer,
    input_ptr: *const u32,
    input_size: usize,
    binary: *mut *mut Binary,
    message_callback: MessageCallback,
    message_ctx: *mut c_void,
    options: *const OptimizerOptions,
) -> SpirvResult