// Copyright 2022-2024 The Khronos Group Inc. // // SPDX-License-Identifier: CC-BY-4.0 // Common Valid Usage * [[VUID-{refpage}-offset-08782]] pname:offset must: be less than the size of pname:buffer * [[VUID-{refpage}-offset-08783]] The sum of pname:offset and the base address of the range of sname:VkDeviceMemory object that is backing pname:buffer, must: be a multiple of the size of the type indicated by pname:indexType * [[VUID-{refpage}-buffer-08784]] pname:buffer must: have been created with the ename:VK_BUFFER_USAGE_INDEX_BUFFER_BIT flag * [[VUID-{refpage}-buffer-08785]] If pname:buffer is non-sparse then it must: be bound completely and contiguously to a single sname:VkDeviceMemory object ifdef::VK_NV_ray_tracing,VK_KHR_acceleration_structure[] * [[VUID-{refpage}-indexType-08786]] pname:indexType must: not be ename:VK_INDEX_TYPE_NONE_KHR endif::VK_NV_ray_tracing,VK_KHR_acceleration_structure[] ifdef::VK_EXT_index_type_uint8[] * [[VUID-{refpage}-indexType-08787]] If pname:indexType is ename:VK_INDEX_TYPE_UINT8_EXT, the <> feature must: be enabled endif::VK_EXT_index_type_uint8[] * [[VUID-{refpage}-None-09493]] {empty} ifdef::VK_KHR_maintenance6+VK_EXT_robustness2[] If <> is not enabled, endif::VK_KHR_maintenance6+VK_EXT_robustness2[] pname:buffer must: not be dlink:VK_NULL_HANDLE ifdef::VK_KHR_maintenance6[] * [[VUID-{refpage}-buffer-09494]] If pname:buffer is dlink:VK_NULL_HANDLE, offset must: be zero endif::VK_KHR_maintenance6[] // Common Valid Usage