Home
last modified time | relevance | path

Searched refs:index_buffer_binding (Results 1 – 3 of 3) sorted by relevance

/external/vulkan-validation-layers/layers/
Ddrawdispatch.cpp106 const auto &index_buffer_binding = cb_state->index_buffer_binding; in PreCallValidateCmdDrawIndexed() local
107 if (index_buffer_binding.index_type == VK_INDEX_TYPE_UINT16) { in PreCallValidateCmdDrawIndexed()
109 } else if (index_buffer_binding.index_type == VK_INDEX_TYPE_UINT32) { in PreCallValidateCmdDrawIndexed()
111 } else if (index_buffer_binding.index_type == VK_INDEX_TYPE_UINT8_EXT) { in PreCallValidateCmdDrawIndexed()
114 … end_offset = (index_size * ((VkDeviceSize)firstIndex + indexCount)) + index_buffer_binding.offset; in PreCallValidateCmdDrawIndexed()
115 if (end_offset > index_buffer_binding.size) { in PreCallValidateCmdDrawIndexed()
117 … HandleToUint64(index_buffer_binding.buffer), "VUID-vkCmdDrawIndexed-indexSize-00463", in PreCallValidateCmdDrawIndexed()
122 …index_size, firstIndex, indexCount, index_buffer_binding.offset, end_offset, index_buffer_binding.… in PreCallValidateCmdDrawIndexed()
Dcore_validation_types.h1473 IndexBufferBinding index_buffer_binding;
Dcore_validation.cpp2213 memset(&pCB->index_buffer_binding, 0, sizeof(pCB->index_buffer_binding)); in ResetCommandBufferState()
7778 cb_state->index_buffer_binding.buffer = buffer; in PreCallRecordCmdBindIndexBuffer()
7779 cb_state->index_buffer_binding.size = buffer_state->createInfo.size; in PreCallRecordCmdBindIndexBuffer()
7780 cb_state->index_buffer_binding.offset = offset; in PreCallRecordCmdBindIndexBuffer()
7781 cb_state->index_buffer_binding.index_type = indexType; in PreCallRecordCmdBindIndexBuffer()