Home
last modified time | relevance | path

Searched refs:getHostPtr (Results 1 – 25 of 151) sorted by relevance

1234567

/external/deqp/external/vulkancts/modules/vulkan/api/
DvktApiComputeInstanceResultBuffer.cpp49 deMemcpy(*results, m_bufferMem->getHostPtr(), sizeof(*results)); in readResultContentsTo()
55 deMemcpy(result, m_bufferMem->getHostPtr(), sizeof(*result)); in readResultContentsTo()
84 void* mapPtr = allocation->getHostPtr(); in createResultBuffer()
DvktApiBufferViewAccessTests.cpp264 deMemcpy(m_uniformBufferAlloc->getHostPtr(), uniformData.data(), (size_t)uniformSize); in BufferViewTestInstance()
380 deMemcpy(m_vertexBufferAlloc->getHostPtr(), m_vertices.data(), (size_t)vertexDataSize); in BufferViewTestInstance()
437 …BufferAccess(resultLevel->getFormat(), resultLevel->getSize(), m_resultBufferAlloc->getHostPtr())); in checkResult()
474 deMemcpy(m_uniformBufferAlloc->getHostPtr(), uniformData.data(), (size_t)uniformSize); in iterate()
DvktApiFillBufferTests.cpp163 …rAccess(resultLevel->getFormat(), resultLevel->getSize(), m_destinationBufferAlloc->getHostPtr())); in iterate()
194 deMemcpy(bufferAlloc.getHostPtr(), bufferAccess.getDataPtr(), bufferSize); in uploadBuffer()
305 …rAccess(resultLevel->getFormat(), resultLevel->getSize(), m_destinationBufferAlloc->getHostPtr())); in iterate()
DvktApiSmokeTests.cpp548 deMemcpy(vertexBufferMemory->getHostPtr(), &vertices[0], sizeof(vertices)); in renderTriangleTest()
565 …s resultAccess (tcuFormat, renderSize.x(), renderSize.y(), 1, readImageBufferMemory->getHostPtr()); in renderTriangleTest()
858 deMemcpy(vertexBufferMemory->getHostPtr(), &vertices[0], sizeof(vertices)); in renderTriangleUnusedResolveAttachmentTest()
875 …s resultAccess (tcuFormat, renderSize.x(), renderSize.y(), 1, readImageBufferMemory->getHostPtr()); in renderTriangleUnusedResolveAttachmentTest()
DvktApiBufferComputeInstance.cpp69 void* const mapPtr = allocation->getHostPtr(); in createDataBuffer()
116 void* mapPtr = allocation->getHostPtr(); in createColorDataBuffer()
/external/deqp/external/vulkancts/modules/vulkan/compute/
DvktComputeBasicComputeShaderTests.cpp260 const deUint32* bufferPtr = static_cast<deUint32*>(bufferAllocation.getHostPtr()); in iterate()
431 const deUint32* bufferPtr = static_cast<deUint32*>(bufferAllocation.getHostPtr()); in iterate()
604 const deUint32* bufferPtr = static_cast<deUint32*>(bufferAllocation.getHostPtr()); in iterate()
728 deUint32* bufferPtr = static_cast<deUint32*>(stagingBufferAllocation.getHostPtr()); in iterate()
804 const deUint32* bufferPtr = static_cast<deUint32*>(outputBufferAllocation.getHostPtr()); in iterate()
805 const deUint32* refBufferPtr = static_cast<deUint32*>(stagingBuffer.getAllocation().getHostPtr()); in iterate()
923 deUint32* bufferPtr = static_cast<deUint32*>(inputBufferAllocation.getHostPtr()); in iterate()
1004 const deUint32* bufferPtr = static_cast<deUint32*>(outputBufferAllocation.getHostPtr()); in iterate()
1005 const deUint32* refBufferPtr = static_cast<deUint32*>(inputBuffer.getAllocation().getHostPtr()); in iterate()
1200 tcu::UVec4* bufferPtr = static_cast<tcu::UVec4*>(inputBufferAllocation.getHostPtr()); in iterate()
[all …]
/external/deqp/external/vulkancts/modules/vulkan/subgroups/
DvktSubgroupsTestsUtils.cpp1415 deUint32* ptr = reinterpret_cast<deUint32*>(alloc.getHostPtr()); in initializeMemory()
1428 float* ptr = reinterpret_cast<float*>(alloc.getHostPtr()); in initializeMemory()
1441 double* ptr = reinterpret_cast<double*>(alloc.getHostPtr()); in initializeMemory()
1453 deUint32* ptr = reinterpret_cast<deUint32*>(alloc.getHostPtr()); in initializeMemory()
1616 deMemcpy(alloc.getHostPtr(), &data[0], data.size() * sizeof(tcu::Vec4)); in makeTessellationEvaluationFrameBufferTest()
1665 datas.push_back(allocResult.getHostPtr()); in makeTessellationEvaluationFrameBufferTest()
1828 deMemcpy(alloc.getHostPtr(), &data[0], maxWidth * sizeof(tcu::Vec4)); in makeGeometryFrameBufferTest()
1886 datas.push_back(allocResult.getHostPtr()); in makeGeometryFrameBufferTest()
2161 datas.push_back(resultAlloc.getHostPtr()); in allStages()
2172 datas.push_back(resultAlloc.getHostPtr()); in allStages()
[all …]
/external/deqp/external/vulkancts/modules/vulkan/robustness/
DvktRobustnessVertexAccessTests.cpp530 …populateBufferWithTestValues(m_vertexRateBufferAlloc->getHostPtr(), (deUint32)m_vertexRateBufferAl… in VertexAccessInstance()
558 …populateBufferWithTestValues(m_instanceRateBufferAlloc->getHostPtr(), (deUint32)m_instanceRateBuff… in VertexAccessInstance()
605 deMemcpy(m_indexBufferAlloc->getHostPtr(), indices.data(), (size_t)m_indexBufferSize); in VertexAccessInstance()
631 deMemset(m_outBufferAlloc->getHostPtr(), 0xFF, (size_t)m_outBufferSize); in VertexAccessInstance()
708 deUint32 *bufferPtr = reinterpret_cast<deUint32*>(m_vertexNumBufferAlloc->getHostPtr()); in iterate()
763 void* outDataPtr = m_outBufferAlloc->getHostPtr(); in verifyResult()
794 inBufferPtr = m_instanceRateBufferAlloc->getHostPtr(); in verifyResult()
806 inBufferPtr = m_vertexRateBufferAlloc->getHostPtr(); in verifyResult()
DvktRobustnessBufferAccessTests.cpp746 populateBufferWithTestValues(m_inBufferAlloc->getHostPtr(), m_inBufferAllocSize, m_bufferFormat); in BufferAccessInstance()
790 deMemset(m_outBufferAlloc->getHostPtr(), 0xFF, (size_t)m_outBufferAllocSize); in BufferAccessInstance()
836 deMemcpy(m_indicesBufferAlloc->getHostPtr(), &indices, sizeof(IndicesBuffer)); in BufferAccessInstance()
997 …deMemcpy(m_vertexBufferAlloc->getHostPtr(), vertices, sizeof(tcu::Vec4) * DE_LENGTH_OF_ARRAY(verti… in BufferAccessInstance()
1061 const deUint8 *const outValuePtr = (deUint8*)m_outBufferAlloc->getHostPtr() + offsetInBytes; in isOutBufferValueUnchanged()
1117 const void* inDataPtr = m_inBufferAlloc->getHostPtr(); in verifyResult()
1118 const void* outDataPtr = m_outBufferAlloc->getHostPtr(); in verifyResult()
/external/deqp/external/vulkancts/modules/vulkan/conditional_rendering/
DvktConditionalDispatchTests.cpp186 deUint8* outputBufferPtr = reinterpret_cast<deUint8*>(alloc.getHostPtr()); in iterate()
228 …deUint8* indirectBufferPtr = reinterpret_cast<deUint8*>(indirectBuffer.getAllocation().getHostPtr(… in iterate()
316 const deUint32* bufferPtr = static_cast<deUint32*>(outputBufferAllocation.getHostPtr()); in iterate()
DvktConditionalDrawTests.cpp166 deUint8* indexBufferPtr = reinterpret_cast<deUint8*>(m_indexBuffer->getBoundMemory().getHostPtr()); in createAndBindIndexBuffer()
211 deUint8* ptr = reinterpret_cast<deUint8*>(m_indirectBuffer->getBoundMemory().getHostPtr()); in createIndirectBuffer()
255 deUint8* ptr = reinterpret_cast<deUint8*>(m_indirectBuffer->getBoundMemory().getHostPtr()); in createIndexedIndirectBuffer()
270 … countBufferPtr = reinterpret_cast<deUint8*>(m_indirectCountBuffer->getBoundMemory().getHostPtr()); in createIndirectCountBuffer()
/external/deqp/external/vulkancts/modules/vulkan/fragment_ops/
DvktFragmentOperationsEarlyFragmentTests.cpp380 tcu::Vec4* const pVertices = reinterpret_cast<tcu::Vec4*>(vertexBufferAlloc->getHostPtr()); in iterate()
401 deUint32* const pData = static_cast<deUint32*>(resultBufferAlloc->getHostPtr()); in iterate()
494 …ccess(mapVkFormat(colorFormat), renderSize.x(), renderSize.y(), 1, colorBufferAlloc->getHostPtr()); in iterate()
504 const int actualCounter = *static_cast<deInt32*>(resultBufferAlloc->getHostPtr()); in iterate()
DvktFragmentOperationsScissorTests.cpp269 deMemset(alloc.getHostPtr(), 0, static_cast<std::size_t>(size)); in zeroBuffer()
372 …deMemcpy(m_vertexBufferAlloc->getHostPtr(), &m_vertices[0], static_cast<std::size_t>(m_vertexBuffe… in ScissorRenderer()
479 …kFormat(colorFormat), renderSize.x(), renderSize.y(), 1u, colorBufferScissoredAlloc->getHostPtr()); in test()
480 …(mapVkFormat(colorFormat), renderSize.x(), renderSize.y(), 1u, colorBufferFullAlloc->getHostPtr()); in test()
DvktFragmentOperationsScissorMultiViewportTests.cpp141 deMemset(alloc.getHostPtr(), 0, static_cast<std::size_t>(size)); in zeroBuffer()
351 …deMemcpy(m_vertexBufferAlloc->getHostPtr(), &vertices[0], static_cast<std::size_t>(m_vertexBufferS… in ScissorRenderer()
456 …ge (mapVkFormat(colorFormat), renderSize.x(), renderSize.y(), 1u, colorBufferAlloc->getHostPtr()); in test()
/external/deqp/external/vulkancts/modules/vulkan/sparse_resources/
DvktSparseResourcesBufferTests.cpp668 deMemset(m_colorBufferAlloc->getHostPtr(), 0, static_cast<std::size_t>(m_colorBufferSize)); in SparseBufferTestInstance()
720 …VkFormat(m_colorFormat), m_renderSize.x(), m_renderSize.y(), 1u, m_colorBufferAlloc->getHostPtr()); in isResultImageCorrect()
940 IVec4* const pData = static_cast<IVec4*>(stagingBufferAlloc->getHostPtr()); in iterate()
1008 deMemcpy(m_vertexBufferAlloc->getHostPtr(), &vertexData[0], vertexBufferSize); in iterate()
1307 deUint8* pData = static_cast<deUint8*>(m_stagingBufferAlloc->getHostPtr()); in initializeBuffers()
1362 generateGrid(m_vertexBufferAlloc->getHostPtr(), step, -1.0f, -1.0f, GRID_SIZE, GRID_SIZE); in initializeBuffers()
1370 …deUint8* const pData = static_cast<deUint8*>(m_stagingBufferAlloc->getHostPtr()) + chunkNdx * m_p… in initializeBuffers()
1425 generateGrid(m_vertexBufferAlloc->getHostPtr(), 2.0f, -1.0f, -1.0f, 1, 1); in initializeBuffers()
1432 …deUint8* const pData = static_cast<deUint8*>(m_stagingBufferAlloc->getHostPtr()) + chunkNdx *… in initializeBuffers()
/external/deqp/external/vulkancts/modules/vulkan/tessellation/
DvktTessellationPrimitiveDiscardTests.cpp417 deMemcpy(alloc.getHostPtr(), &attributes[0], static_cast<std::size_t>(vertexDataSizeBytes)); in test()
429 deMemset(alloc.getHostPtr(), 0, static_cast<std::size_t>(resultBufferSizeBytes)); in test()
542 …Access(mapVkFormat(colorFormat), renderSize.x(), renderSize.y(), 1, colorBufferAlloc.getHostPtr()); in test()
551 const deInt32 numResultVertices = *static_cast<deInt32*>(resultAlloc.getHostPtr()); in test()
DvktTessellationCoordinatesTests.cpp558 TessLevels* const bufferTessLevels = static_cast<TessLevels*>(alloc.getHostPtr()); in iterate()
566 deMemset(alloc.getHostPtr(), 0, static_cast<std::size_t>(resultBufferSizeBytes)); in iterate()
597 const deInt32 numResults = *static_cast<deInt32*>(resultAlloc.getHostPtr()); in iterate()
598 …TessCoords = readInterleavedData<tcu::Vec3>(numResults, resultAlloc.getHostPtr(), resultBufferT… in iterate()
DvktTessellationFractionalSpacingTests.cpp585 float* const tessLevelOuter1 = static_cast<float*>(alloc.getHostPtr()); in test()
594 deMemset(alloc.getHostPtr(), 0, static_cast<std::size_t>(resultBufferSizeBytes)); in test()
627 const deInt32 numResults = *static_cast<deInt32*>(resultAlloc.getHostPtr()); in test()
628 …const std::vector<float> resultTessCoords = readFloatArray(numResults, resultAlloc.getHostPtr(), s… in test()
DvktTessellationInvarianceTests.cpp644 deMemset(alloc.getHostPtr(), 0, static_cast<std::size_t>(m_resultBufferSizeBytes)); in draw()
681 result.numPrimitives = *static_cast<deInt32*>(resultAlloc.getHostPtr()); in draw()
682 …ed(readInterleavedData<PerPrimitive>(result.numPrimitives, resultAlloc.getHostPtr(), m_resultBuffe… in draw()
703 deMemcpy(alloc.getHostPtr(), &vertexData[0], sizeInBytes(vertexData)); in uploadVertexAttributes()
1419 deMemcpy(alloc.getHostPtr(), data, sizeof(data)); in iterate()
1438 deMemset(alloc.getHostPtr(), 0, static_cast<std::size_t>(resultBufferSizeBytes)); in iterate()
1473 const deInt32 numPrimitives = *static_cast<deInt32*>(resultAlloc.getHostPtr()); in iterate()
1474 … = sorted(readInterleavedData<PerPrimitive>(numPrimitives, resultAlloc.getHostPtr(), resultBufferT… in iterate()
2062 deMemcpy(alloc.getHostPtr(), &tessLevelCases[tessLevelCaseNdx], sizeof(TessLevels)); in test()
2067 deMemset(alloc.getHostPtr(), 0, static_cast<std::size_t>(resultBufferSizeBytes)); in test()
[all …]
/external/deqp/external/vulkancts/modules/vulkan/image/
DvktImageMultisampleLoadStoreTests.cpp275 deUint8* const basePtr = static_cast<deUint8*>(alloc.getHostPtr()); in test()
277 deMemset(alloc.getHostPtr(), 0, static_cast<size_t>(constantsBufferSizeBytes)); in test()
294 deMemset(alloc.getHostPtr(), 0, static_cast<size_t>(resultBufferSizeBytes)); in test()
442 const deInt32* pDataPtr = static_cast<deInt32*>(alloc.getHostPtr()); in test()
DvktImageCompressionTranscodingSupport.cpp680 deMemcpy(alloc.getHostPtr(), &m_data[0], m_data.size()); in copyDataToImage()
892 …if (deMemCmp((const void *)allocResult.getHostPtr(), (const void *)&m_data[static_cast<size_t>(off… in copyResultAndCompare()
1302 BinaryCompareResult res = BinaryCompare(referenceAlloc.getHostPtr(), in decompressImage()
1303 resultAlloc.getHostPtr(), in decompressImage()
1310 …decompressedImageInfo.extent.height, decompressedImageInfo.extent.depth, resultAlloc.getHostPtr()); in decompressImage()
1311 …ompressedImageInfo.extent.height, decompressedImageInfo.extent.depth, referenceAlloc.getHostPtr()); in decompressImage()
1647 deMemcpy(vertexBufferAlloc.getHostPtr(), &vertexArray[0], vertexBufferSizeInBytes); in prepareVertexBuffer()
1728 deMemcpy(alloc.getHostPtr(), &m_srcData[levelNdx][layerNdx]->at(0), srcImageSizeInBytes); in transcodeRead()
1778 …deMemcpy(&m_dstData[levelNdx][layerNdx]->at(0), dstImageBufferAlloc.getHostPtr(), dstImageSizeInBy… in transcodeRead()
1862 deMemcpy(alloc.getHostPtr(), &m_srcData[levelNdx][layerNdx]->at(0), srcImageSizeInBytes); in transcodeWrite()
[all …]
/external/deqp/external/vulkancts/modules/vulkan/draw/
DvktDrawShaderViewportIndexTests.cpp709 …deMemcpy(m_vertexBuffer->getBoundMemory().getHostPtr(), &m_vertices[0], static_cast<std::size_t>(v… in Renderer()
822 deMemset(alloc.getHostPtr(), 0, static_cast<std::size_t>(colorBufferSize)); in testVertexShader()
843 …ss resultImage (mapVkFormat(colorFormat), renderSize.x(), renderSize.y(), 1u, alloc.getHostPtr()); in testVertexShader()
879 deMemset(alloc.getHostPtr(), 0, static_cast<std::size_t>(colorBufferSize)); in testTessellationShader()
900 …ss resultImage (mapVkFormat(colorFormat), renderSize.x(), renderSize.y(), 1u, alloc.getHostPtr()); in testTessellationShader()
DvktDrawShaderLayerTests.cpp791 …deMemcpy(m_vertexBuffer->getBoundMemory().getHostPtr(), &m_vertices[0], static_cast<std::size_t>(v… in Renderer()
924 deMemset(alloc.getHostPtr(), 0, static_cast<std::size_t>(colorBufferSize)); in testVertexShader()
945 deUint8* resultMem = reinterpret_cast<deUint8*>(alloc.getHostPtr()); in testVertexShader()
986 deMemset(alloc.getHostPtr(), 0, static_cast<std::size_t>(colorBufferSize)); in testTessellationShader()
1007 deUint8* resultMem = reinterpret_cast<deUint8*>(alloc.getHostPtr()); in testTessellationShader()
/external/deqp/external/vulkancts/modules/vulkan/geometry/
DvktGeometryBasicClass.cpp124 DataVec4* const pData = static_cast<DataVec4*>(alloc.getHostPtr()); in iterate()
180 …Access(mapVkFormat(colorFormat), resolution.x(), resolution.y(), 1, colorBufferAlloc.getHostPtr()); in iterate()
DvktGeometryTestsUtil.cpp554 deMemset(alloc.getHostPtr(), 0, static_cast<std::size_t>(size)); in zeroBuffer()
568 deUint8* dstBase = static_cast<deUint8*>(alloc.getHostPtr()); in fillBuffer()
587 deUint8* dstBase = static_cast<deUint8*>(alloc.getHostPtr()); in fillBuffer()

1234567