Function handle_buffer_init

Source
fn handle_buffer_init(
    state: &mut EncodingState<'_, '_>,
    info: &TexelCopyBufferInfo<Arc<Buffer>>,
    direction: CopySide,
    required_buffer_bytes_in_copy: BufferAddress,
    is_contiguous: bool,
)
Expand description

Handle initialization tracking for a transfer’s source or destination buffer.

Ensures that the transfer will not read from uninitialized memory, and updates the initialization state information to reflect the transfer.