/external/deqp/external/vulkancts/modules/vulkan/api/ |
D | vktApiComputeInstanceResultBuffer.cpp | 49 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()
|
D | vktApiBufferViewAccessTests.cpp | 264 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()
|
D | vktApiFillBufferTests.cpp | 163 …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()
|
D | vktApiSmokeTests.cpp | 548 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()
|
D | vktApiBufferComputeInstance.cpp | 69 void* const mapPtr = allocation->getHostPtr(); in createDataBuffer() 116 void* mapPtr = allocation->getHostPtr(); in createColorDataBuffer()
|
/external/deqp/external/vulkancts/modules/vulkan/compute/ |
D | vktComputeBasicComputeShaderTests.cpp | 260 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/ |
D | vktSubgroupsTestsUtils.cpp | 1415 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/ |
D | vktRobustnessVertexAccessTests.cpp | 530 …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()
|
D | vktRobustnessBufferAccessTests.cpp | 746 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/ |
D | vktConditionalDispatchTests.cpp | 186 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()
|
D | vktConditionalDrawTests.cpp | 166 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/ |
D | vktFragmentOperationsEarlyFragmentTests.cpp | 380 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()
|
D | vktFragmentOperationsScissorTests.cpp | 269 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()
|
D | vktFragmentOperationsScissorMultiViewportTests.cpp | 141 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/ |
D | vktSparseResourcesBufferTests.cpp | 668 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/ |
D | vktTessellationPrimitiveDiscardTests.cpp | 417 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()
|
D | vktTessellationCoordinatesTests.cpp | 558 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()
|
D | vktTessellationFractionalSpacingTests.cpp | 585 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()
|
D | vktTessellationInvarianceTests.cpp | 644 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/ |
D | vktImageMultisampleLoadStoreTests.cpp | 275 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()
|
D | vktImageCompressionTranscodingSupport.cpp | 680 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/ |
D | vktDrawShaderViewportIndexTests.cpp | 709 …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()
|
D | vktDrawShaderLayerTests.cpp | 791 …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/ |
D | vktGeometryBasicClass.cpp | 124 DataVec4* const pData = static_cast<DataVec4*>(alloc.getHostPtr()); in iterate() 180 …Access(mapVkFormat(colorFormat), resolution.x(), resolution.y(), 1, colorBufferAlloc.getHostPtr()); in iterate()
|
D | vktGeometryTestsUtil.cpp | 554 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()
|