Skip to main content

MAX_DECODE_REGIONS

Constant MAX_DECODE_REGIONS 

Source
pub const MAX_DECODE_REGIONS: u32 = 1_000_000;
Expand description

Maximum decoded regions accepted from one GPU readback.

I10: this bounds region vector allocation even if a malformed shader counter reports one region per byte or a corrupted counter value.