Function handle_buffer_init

Source
fn handle_buffer_init(
    cmd_buf_data: &mut CommandBufferMutable,
    info: &TexelCopyBufferInfo,
    buffer: &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.