// Copyright 2022-2023 The Khronos Group Inc. // // SPDX-License-Identifier: CC-BY-4.0 // Common Valid Usage // Common to drawing commands that are indexed * [[VUID-{refpage}-None-07312]] An index buffer must: be bound * [[VUID-{refpage}-robustBufferAccess2-07825]] If <> is not enabled, [eq]#(code:indexSize {times} (pname:firstIndex {plus} pname:indexCount) {plus} pname:offset)# must: be less than or equal to the size of the bound index buffer, with code:indexSize being based on the type specified by pname:indexType, where the index buffer, pname:indexType, and pname:offset are specified via fname:vkCmdBindIndexBuffer // Common Valid Usage