flowchart TD C["command record"] --> I{"indexed?"} I -->|no| M6["mode 6: indices 0..n-1
assembled as a list"] I -->|yes| K{"pipeline's
strip cut value"} K -->|0xFFFF| M4["mode 4: cut at 0xFFFF
(16- or 32-bit IBV)"] K -->|0xFFFFFFFF| F{"this command's
IBV format"} F -->|R32_UINT| M5["mode 5: cut at 0xFFFFFFFF"] F -->|R16_UINT| M3["mode 3: no cut"] K -->|disabled| M3 M4 --> O{"fits in 2^22
indices?"} M5 --> O M3 --> O M6 --> O O -->|no| D["count 0: draws nothing"]