/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 | 312 deMemcpy(m_uniformBufferAlloc->getHostPtr(), uniformData.data(), (size_t)uniformSize); in BufferViewTestInstance() 592 deMemcpy(m_vertexBufferAlloc->getHostPtr(), m_vertices.data(), (size_t)vertexDataSize); in BufferViewTestInstance() 732 …BufferAccess(resultLevel->getFormat(), resultLevel->getSize(), m_resultBufferAlloc->getHostPtr())); in checkResult() 783 deMemcpy(m_uniformBufferAlloc->getHostPtr(), uniformData.data(), (size_t)uniformSize); in iterate()
|
D | vktApiBufferComputeInstance.cpp | 69 void* const mapPtr = allocation->getHostPtr(); in createDataBuffer() 116 void* mapPtr = allocation->getHostPtr(); in createColorDataBuffer()
|
D | vktApiFillBufferTests.cpp | 188 …rAccess(resultLevel->getFormat(), resultLevel->getSize(), m_destinationBufferAlloc->getHostPtr())); in iterate() 219 deMemcpy(bufferAlloc.getHostPtr(), bufferAccess.getDataPtr(), bufferSize); in uploadBuffer() 353 …rAccess(resultLevel->getFormat(), resultLevel->getSize(), m_destinationBufferAlloc->getHostPtr())); in iterate()
|
/external/deqp/external/vulkancts/modules/vulkan/compute/ |
D | vktComputeBasicComputeShaderTests.cpp | 258 const deUint32* bufferPtr = static_cast<deUint32*>(bufferAllocation.getHostPtr()); in iterate() 429 const deUint32* bufferPtr = static_cast<deUint32*>(bufferAllocation.getHostPtr()); in iterate() 602 const deUint32* bufferPtr = static_cast<deUint32*>(bufferAllocation.getHostPtr()); in iterate() 726 deUint32* bufferPtr = static_cast<deUint32*>(stagingBufferAllocation.getHostPtr()); in iterate() 817 const deUint32* bufferPtr = static_cast<deUint32*>(outputBufferAllocation.getHostPtr()); in iterate() 818 const deUint32* refBufferPtr = static_cast<deUint32*>(stagingBuffer.getAllocation().getHostPtr()); in iterate() 936 deUint32* bufferPtr = static_cast<deUint32*>(inputBufferAllocation.getHostPtr()); in iterate() 1027 const deUint32* bufferPtr = static_cast<deUint32*>(outputBufferAllocation.getHostPtr()); in iterate() 1028 const deUint32* refBufferPtr = static_cast<deUint32*>(inputBuffer.getAllocation().getHostPtr()); in iterate() 1223 tcu::UVec4* bufferPtr = static_cast<tcu::UVec4*>(inputBufferAllocation.getHostPtr()); in iterate() [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/sparse_resources/ |
D | vktSparseResourcesBufferTests.cpp | 786 deMemset(m_colorBufferAlloc->getHostPtr(), 0, static_cast<std::size_t>(m_colorBufferSize)); in SparseBufferTestInstance() 838 …VkFormat(m_colorFormat), m_renderSize.x(), m_renderSize.y(), 1u, m_colorBufferAlloc->getHostPtr()); in isResultImageCorrect() 1045 IVec4* const pData = static_cast<IVec4*>(stagingBufferAlloc->getHostPtr()); in iterate() 1113 deMemcpy(m_vertexBufferAlloc->getHostPtr(), &vertexData[0], vertexBufferSize); in iterate() 1391 deUint8* pData = static_cast<deUint8*>(m_stagingBufferAlloc->getHostPtr()); in initializeBuffers() 1446 generateGrid(m_vertexBufferAlloc->getHostPtr(), step, -1.0f, -1.0f, GRID_SIZE, GRID_SIZE); in initializeBuffers() 1454 …deUint8* const pData = static_cast<deUint8*>(m_stagingBufferAlloc->getHostPtr()) + chunkNdx * m_p… in initializeBuffers() 1509 generateGrid(m_vertexBufferAlloc->getHostPtr(), 2.0f, -1.0f, -1.0f, 1, 1); in initializeBuffers() 1516 …deUint8* const pData = static_cast<deUint8*>(m_stagingBufferAlloc->getHostPtr()) + chunkNdx *… in initializeBuffers()
|
D | vktSparseResourcesBufferSparseBinding.cpp | 250 deMemcpy(inputBufferAlloc->getHostPtr(), &referenceData[0], m_bufferSize); in iterate() 316 const deUint8* outputData = static_cast<const deUint8*>(outputBufferAlloc->getHostPtr()); in iterate()
|
/external/deqp/external/vulkancts/modules/vulkan/subgroups/ |
D | vktSubgroupsTestsUtils.cpp | 980 deUint32* ptr = reinterpret_cast<deUint32*>(alloc.getHostPtr()); in initializeMemory() 993 float* ptr = reinterpret_cast<float*>(alloc.getHostPtr()); in initializeMemory() 1006 double* ptr = reinterpret_cast<double*>(alloc.getHostPtr()); in initializeMemory() 1018 deUint32* ptr = reinterpret_cast<deUint32*>(alloc.getHostPtr()); in initializeMemory() 1218 datas.push_back(resultAlloc.getHostPtr()); in makeTessellationEvaluationTest() 1426 datas.push_back(resultAlloc.getHostPtr()); in makeTessellationControlTest() 1631 datas.push_back(resultAlloc.getHostPtr()); in makeGeometryTest() 1828 deMemcpy(alloc.getHostPtr(), &data[0], maxWidth * sizeof(tcu::Vec4)); in makeVertexFrameBufferTest() 1924 datas.push_back(allocResult.getHostPtr()); in makeVertexFrameBufferTest() 2119 datas.push_back(resultAlloc.getHostPtr()); in makeVertexTest() [all …]
|
/external/deqp/external/vulkancts/modules/vulkan/tessellation/ |
D | vktTessellationPrimitiveDiscardTests.cpp | 415 deMemcpy(alloc.getHostPtr(), &attributes[0], static_cast<std::size_t>(vertexDataSizeBytes)); in test() 427 deMemset(alloc.getHostPtr(), 0, static_cast<std::size_t>(resultBufferSizeBytes)); in test() 562 …Access(mapVkFormat(colorFormat), renderSize.x(), renderSize.y(), 1, colorBufferAlloc.getHostPtr()); in test() 571 const deInt32 numResultVertices = *static_cast<deInt32*>(resultAlloc.getHostPtr()); in test()
|
D | vktTessellationFractionalSpacingTests.cpp | 582 float* const tessLevelOuter1 = static_cast<float*>(alloc.getHostPtr()); in test() 591 deMemset(alloc.getHostPtr(), 0, static_cast<std::size_t>(resultBufferSizeBytes)); in test() 624 const deInt32 numResults = *static_cast<deInt32*>(resultAlloc.getHostPtr()); in test() 625 …const std::vector<float> resultTessCoords = readFloatArray(numResults, resultAlloc.getHostPtr(), s… in test()
|
D | vktTessellationCoordinatesTests.cpp | 555 TessLevels* const bufferTessLevels = static_cast<TessLevels*>(alloc.getHostPtr()); in iterate() 563 deMemset(alloc.getHostPtr(), 0, static_cast<std::size_t>(resultBufferSizeBytes)); in iterate() 594 const deInt32 numResults = *static_cast<deInt32*>(resultAlloc.getHostPtr()); in iterate() 595 …TessCoords = readInterleavedData<tcu::Vec3>(numResults, resultAlloc.getHostPtr(), resultBufferT… in iterate()
|
D | vktTessellationInvarianceTests.cpp | 640 deMemset(alloc.getHostPtr(), 0, static_cast<std::size_t>(m_resultBufferSizeBytes)); in draw() 677 result.numPrimitives = *static_cast<deInt32*>(resultAlloc.getHostPtr()); in draw() 678 …ed(readInterleavedData<PerPrimitive>(result.numPrimitives, resultAlloc.getHostPtr(), m_resultBuffe… in draw() 699 deMemcpy(alloc.getHostPtr(), &vertexData[0], sizeInBytes(vertexData)); in uploadVertexAttributes() 1414 deMemcpy(alloc.getHostPtr(), data, sizeof(data)); in iterate() 1433 deMemset(alloc.getHostPtr(), 0, static_cast<std::size_t>(resultBufferSizeBytes)); in iterate() 1468 const deInt32 numPrimitives = *static_cast<deInt32*>(resultAlloc.getHostPtr()); in iterate() 1469 … = sorted(readInterleavedData<PerPrimitive>(numPrimitives, resultAlloc.getHostPtr(), resultBufferT… in iterate() 2057 deMemcpy(alloc.getHostPtr(), &tessLevelCases[tessLevelCaseNdx], sizeof(TessLevels)); in test() 2062 deMemset(alloc.getHostPtr(), 0, static_cast<std::size_t>(resultBufferSizeBytes)); in test() [all …]
|
D | vktTessellationMiscDrawTests.cpp | 153 deMemcpy(alloc.getHostPtr(), &vertexData[0], static_cast<std::size_t>(vertexDataSizeBytes)); in runTest() 229 TessLevels* const bufferTessLevels = static_cast<TessLevels*>(alloc.getHostPtr()); in runTest() 304 …Access(mapVkFormat(colorFormat), renderSize.x(), renderSize.y(), 1, colorBufferAlloc.getHostPtr()); in runTest()
|
/external/deqp/external/vulkancts/modules/vulkan/geometry/ |
D | vktGeometryBasicClass.cpp | 121 DataVec4* const pData = static_cast<DataVec4*>(alloc.getHostPtr()); in iterate() 196 …Access(mapVkFormat(colorFormat), resolution.x(), resolution.y(), 1, colorBufferAlloc.getHostPtr()); in iterate()
|
/external/deqp/external/vulkancts/modules/vulkan/image/ |
D | vktImageMultisampleLoadStoreTests.cpp | 273 deUint8* const basePtr = static_cast<deUint8*>(alloc.getHostPtr()); in test() 275 deMemset(alloc.getHostPtr(), 0, static_cast<size_t>(constantsBufferSizeBytes)); in test() 292 deMemset(alloc.getHostPtr(), 0, static_cast<size_t>(resultBufferSizeBytes)); in test() 440 const deInt32* pDataPtr = static_cast<deInt32*>(alloc.getHostPtr()); in test()
|
D | vktImageCompressionTranscodingSupport.cpp | 564 deMemcpy(alloc.getHostPtr(), &m_data[0], m_data.size()); in copyDataToImage() 776 …if (deMemCmp((const void *)allocResult.getHostPtr(), (const void *)&m_data[static_cast<size_t>(off… in copyResultAndCompare() 1165 if (deMemCmp(resultAlloc.getHostPtr(), referenceAlloc.getHostPtr(), (size_t)bufferSize) != 0) in decompressImage() 1167 …decompressedImageInfo.extent.height, decompressedImageInfo.extent.depth, resultAlloc.getHostPtr()); in decompressImage() 1168 …ompressedImageInfo.extent.height, decompressedImageInfo.extent.depth, referenceAlloc.getHostPtr()); in decompressImage() 1494 deMemcpy(vertexBufferAlloc.getHostPtr(), &vertexArray[0], vertexBufferSizeInBytes); in prepareVertexBuffer() 1575 deMemcpy(alloc.getHostPtr(), &m_srcData[levelNdx][layerNdx]->at(0), srcImageSizeInBytes); in transcodeRead() 1625 …deMemcpy(&m_dstData[levelNdx][layerNdx]->at(0), dstImageBufferAlloc.getHostPtr(), dstImageSizeInBy… in transcodeRead() 1709 deMemcpy(alloc.getHostPtr(), &m_srcData[levelNdx][layerNdx]->at(0), srcImageSizeInBytes); in transcodeWrite() 1759 …deMemcpy(&m_dstData[levelNdx][layerNdx]->at(0), dstImageBufferAlloc.getHostPtr(), dstImageSizeInBy… in transcodeWrite() [all …]
|
D | vktImageTranscodingSupportTests.cpp | 391 deMemcpy(vertexBufferAlloc.getHostPtr(), &vertexArray[0], vertexBufferSizeInBytes); in transcode() 396 deMemcpy(alloc.getHostPtr(), &srcData[0], (size_t)srcImageSizeInBytes); in transcode() 439 deMemcpy(&dstData[0], dstImageBufferAlloc.getHostPtr(), (size_t)dstImageSizeInBytes); in transcode() 648 deMemcpy(vertexBufferAlloc.getHostPtr(), &vertexArray[0], vertexBufferSizeInBytes); in transcode() 653 deMemcpy(alloc.getHostPtr(), &srcData[0], (size_t)srcImageSizeInBytes); in transcode() 700 deMemcpy(&dstData[0], dstImageBufferAlloc.getHostPtr(), (size_t)dstImageSizeInBytes); in transcode()
|
/external/deqp/external/vulkancts/modules/vulkan/synchronization/ |
D | vktSynchronizationOperation.cpp | 118 deMemcpy(alloc.getHostPtr(), &m_vertexData[0], static_cast<std::size_t>(vertexDataSizeBytes)); in VertexGrid() 132 deUint32* const pData = static_cast<deUint32*>(alloc.getHostPtr()); in VertexGrid() 210 static_cast<deUint8*>(alloc.getHostPtr()), // const deUint8* data; in getHostBufferData() 605 deMemset(alloc.getHostPtr(), 0, static_cast<size_t>(m_resource.getBuffer().size)); in Implementation() 607 fillPattern(alloc.getHostPtr(), m_resource.getBuffer().size); in Implementation() 710 deMemset(alloc.getHostPtr(), 0, static_cast<size_t>(m_bufferSize)); in ImplementationBase() 712 fillPattern(alloc.getHostPtr(), m_bufferSize); in ImplementationBase() 1091 …irectCommand* const pIndirectCommand = static_cast<VkDispatchIndirectCommand*>(alloc.getHostPtr()); in ComputePipeline() 1159 deMemset(alloc.getHostPtr(), 0, static_cast<size_t>(m_resource.getBuffer().size)); in BufferImplementation() 1161 fillPattern(alloc.getHostPtr(), m_resource.getBuffer().size); in BufferImplementation() [all …]
|
/external/deqp/external/vulkancts/modules/vulkan/fragment_ops/ |
D | vktFragmentOperationsScissorTests.cpp | 453 deMemset(alloc.getHostPtr(), 0, static_cast<std::size_t>(size)); in zeroBuffer() 556 …deMemcpy(m_vertexBufferAlloc->getHostPtr(), &m_vertices[0], static_cast<std::size_t>(m_vertexBuffe… in ScissorRenderer() 733 …kFormat(colorFormat), renderSize.x(), renderSize.y(), 1u, colorBufferScissoredAlloc->getHostPtr()); in test() 734 …(mapVkFormat(colorFormat), renderSize.x(), renderSize.y(), 1u, colorBufferFullAlloc->getHostPtr()); in test()
|
D | vktFragmentOperationsEarlyFragmentTests.cpp | 631 tcu::Vec4* const pVertices = reinterpret_cast<tcu::Vec4*>(vertexBufferAlloc->getHostPtr()); in iterate() 652 deUint32* const pData = static_cast<deUint32*>(resultBufferAlloc->getHostPtr()); in iterate() 768 …ccess(mapVkFormat(colorFormat), renderSize.x(), renderSize.y(), 1, colorBufferAlloc->getHostPtr()); in iterate() 778 const int actualCounter = *static_cast<deInt32*>(resultBufferAlloc->getHostPtr()); in iterate()
|
/external/deqp/external/vulkancts/modules/vulkan/spirv_assembly/ |
D | vktSpvAsmComputeShaderTestUtil.cpp | 46 memcpy(&actualFloats[0], outputAllocs[outputNdx]->getHostPtr(), expectedBytes.size()); in verifyOutputWithEpsilon()
|
D | vktSpvAsmComputeShaderCase.cpp | 89 void* const hostPtr = destAlloc->getHostPtr(); in setMemory() 97 void* const hostPtr = destAlloc->getHostPtr(); in fillMemoryWithValue() 484 … if (deMemCmp(&expectedBytes.front(), outputAllocs[outputNdx]->getHostPtr(), expectedBytes.size())) in iterate()
|
/external/deqp/external/vulkancts/modules/vulkan/draw/ |
D | vktDrawShaderDrawParametersTests.cpp | 190 deMemset(m_indirectBuffer->getBoundMemory().getHostPtr(), 0, indirectBufferSize); in DrawTest() 200 deUint32* indices = static_cast<deUint32*>(m_indexBuffer->getBoundMemory().getHostPtr()); in DrawTest() 223 deMemcpy(m_indirectBuffer->getBoundMemory().getHostPtr(), pCmdData, dataSize); in setIndirectCommand()
|