wgpu_core::indirect_validation::draw

Function calculate_src_offsets

Source
fn calculate_src_offsets(
    buffer_size: u64,
    limits: &Limits,
    offset: u64,
) -> (u64, u64)
Expand description

Splits the given offset into a dynamic offset & offset.