// Copyright 2022-2024 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]] {empty} ifdef::VK_KHR_maintenance6+VK_EXT_robustness2[] If <> is not enabled, a endif::VK_KHR_maintenance6+VK_EXT_robustness2[] ifndef::VK_KHR_maintenance6[A] valid 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