Lines Matching defs:index
128 // this is testsed - first index in index buffer is outside of bounds
151 // create index buffer for 6 points
155 const std::vector<deUint32> index = { 0, 1, 2, 3, 4, 5 };
156 const VkBufferCreateInfo indexBufferInfo = makeBufferCreateInfo(index.size() * sizeof(deUint32), VK_BUFFER_USAGE_INDEX_BUFFER_BIT | VK_BUFFER_USAGE_TRANSFER_DST_BIT);
158 deMemcpy(indexBuffer.getAllocation().getHostPtr(), index.data(), index.size() * sizeof(deUint32));
164 (deUint32)index.size(), // indexCount
245 // we will draw all points at index 0
247 vk.cmdDrawIndexed(*cmdBuffer, (deUint32)index.size(), 1, oobFirstIndex, 0, 0);
629 // build index data
650 indices.back() = 33; // out of range index
661 // create index buffer
754 // we will draw all points at index 0
815 // if robustness works, then the origin of coordinate system will be read in shader instead of a value that an index points (1,1)