• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1// Copyright 2019-2024 The Khronos Group Inc.
2//
3// SPDX-License-Identifier: CC-BY-4.0
4
5// Common Valid Usage
6  * [[VUID-{refpage}-robustBufferAccess2-08798]]
7    If <<features-robustBufferAccess2, pname:robustBufferAccess2>> is not
8    enabled, [eq]#(code:indexSize {times} (pname:firstIndex {plus}
9    pname:indexCount) {plus} pname:offset)# must: be less than or equal to
10    the size of the bound index buffer, with code:indexSize being based on
11    the type specified by pname:indexType, where the index buffer,
12    pname:indexType, and pname:offset are specified via
13    fname:vkCmdBindIndexBuffer
14ifdef::VK_KHR_maintenance5[]
15    or fname:vkCmdBindIndexBuffer2KHR.
16    If fname:vkCmdBindIndexBuffer2KHR is used to bind the index buffer, the
17    size of the bound index buffer is
18    flink:vkCmdBindIndexBuffer2KHR::pname:size
19endif::VK_KHR_maintenance5[]
20// Common Valid Usage
21