Home
last modified time | relevance | path

Searched refs:indexBufferSize (Results 1 – 5 of 5) sorted by relevance

/external/deqp/external/vulkancts/modules/vulkan/draw/
DvktDrawShaderDrawParametersTests.cpp160 const std::size_t indexBufferSize = sizeof(deUint32) * (NDX_SECOND_INDEX + NUM_VERTICES); in DrawTest() local
161 …Buffer::createAndAlloc(m_vk, m_context.getDevice(), BufferCreateInfo(indexBufferSize, vk::VK_BUFFE… in DrawTest()
165 deMemset(indices, 0, indexBufferSize); in DrawTest()
/external/deqp/external/vulkancts/modules/vulkan/geometry/
DvktGeometryBasicGeometryShaderTests.cpp524 const VkDeviceSize indexBufferSize = m_indices.size() * sizeof(deUint16); in createIndicesBuffer() local
530 indexBufferSize, // VkDeviceSize size; in createIndicesBuffer()
541 deMemcpy(m_allocation->getHostPtr(), &m_indices[0], (size_t)indexBufferSize); in createIndicesBuffer()
/external/deqp/modules/gles31/stress/
Des31sDrawTests.cpp196 const int indexBufferSize = (m_op == INVALID_INDEX_COUNT) ? (drawCount) : (overBoundDrawCount); in iterate() local
197 std::vector<deUint16> indices (indexBufferSize); in iterate()
/external/deqp/external/vulkancts/modules/vulkan/shaderrender/
DvktShaderRender.cpp2176 const VkDeviceSize indexBufferSize = numIndices * sizeof(deUint16); in render() local
2182 indexBufferSize, // VkDeviceSize size; in render()
2195 deMemcpy(indexBufferAlloc->getHostPtr(), indices, (size_t)indexBufferSize); in render()
/external/angle/src/libANGLE/renderer/metal/
DContextMtl.mm280 size_t indexBufferSize = genIndicesCount * sizeof(uint32_t);
283 if (mTriFanArraysIndexBuffer == nullptr || mTriFanArraysIndexBuffer->size() < indexBufferSize)
287 mtl::Buffer::MakeBuffer(this, indexBufferSize, nullptr, &mTriFanArraysIndexBuffer));