/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 | 114 deUint8* bytes = reinterpret_cast<deUint8*>(m_destinationBufferAlloc->getHostPtr()); in iterate() 270 …rAccess(resultLevel->getFormat(), resultLevel->getSize(), m_destinationBufferAlloc->getHostPtr())); in iterate() 301 deMemcpy(bufferAlloc.getHostPtr(), bufferAccess.getDataPtr(), bufferSize); in uploadBuffer() 412 …rAccess(resultLevel->getFormat(), resultLevel->getSize(), m_destinationBufferAlloc->getHostPtr())); in iterate()
|
D | vktApiBufferComputeInstance.cpp | 69 void* const mapPtr = allocation->getHostPtr(); in createDataBuffer() 116 void* mapPtr = allocation->getHostPtr(); in createColorDataBuffer()
|
D | vktApiSmokeTests.cpp | 548 deMemcpy(vertexBufferMemory->getHostPtr(), &vertices[0], sizeof(vertices)); in renderTriangleTest() 557 …s resultAccess (tcuFormat, renderSize.x(), renderSize.y(), 1, readImageBufferMemory->getHostPtr()); in renderTriangleTest() 1128 deMemcpy(vertexBufferMemory->getHostPtr(), &vertices[0], sizeof(vertices)); in renderTriangleDummyExtStructTest() 1160 …ultAccess (tcuFormat, renderSize.x(), renderSize.y(), 1, readImageBufferMemory->getHostPtr()); in renderTriangleDummyExtStructTest() 1453 deMemcpy(vertexBufferMemory->getHostPtr(), &vertices[0], sizeof(vertices)); in renderTriangleUnusedResolveAttachmentTest() 1462 …s resultAccess (tcuFormat, renderSize.x(), renderSize.y(), 1, readImageBufferMemory->getHostPtr()); in renderTriangleUnusedResolveAttachmentTest()
|
/external/angle/src/libANGLE/ |
D | CLMemory.h | 43 void *getHostPtr() const; 112 inline void *Memory::getHostPtr() const in getHostPtr() function
|
/external/deqp/external/vulkancts/modules/vulkan/postmortem/ |
D | vktPostmortemShaderTimeoutTests.cpp | 177 deUint32* storageBufferPtr = static_cast<deUint32*>(storageBufferAllocation.getHostPtr()); in iterate() 187 deUint32* uniformBufferPtr = static_cast<deUint32*>(uniformBufferAllocation.getHostPtr()); in iterate() 245 const deUint32* bufferPtr = static_cast<deUint32*>(storageAllocation.getHostPtr()); in iterate()
|
/external/deqp/external/vulkancts/modules/vulkan/compute/ |
D | vktComputeBasicComputeShaderTests.cpp | 266 const deUint32* bufferPtr = static_cast<deUint32*>(bufferAllocation.getHostPtr()); in iterate() 437 const deUint32* bufferPtr = static_cast<deUint32*>(bufferAllocation.getHostPtr()); in iterate() 610 const deUint32* bufferPtr = static_cast<deUint32*>(bufferAllocation.getHostPtr()); in iterate() 734 deUint32* bufferPtr = static_cast<deUint32*>(stagingBufferAllocation.getHostPtr()); in iterate() 810 const deUint32* bufferPtr = static_cast<deUint32*>(outputBufferAllocation.getHostPtr()); in iterate() 811 const deUint32* refBufferPtr = static_cast<deUint32*>(stagingBuffer.getAllocation().getHostPtr()); in iterate() 929 deUint32* bufferPtr = static_cast<deUint32*>(inputBufferAllocation.getHostPtr()); in iterate() 1010 const deUint32* bufferPtr = static_cast<deUint32*>(outputBufferAllocation.getHostPtr()); in iterate() 1011 const deUint32* refBufferPtr = static_cast<deUint32*>(inputBuffer.getAllocation().getHostPtr()); in iterate() 1206 tcu::UVec4* bufferPtr = static_cast<tcu::UVec4*>(inputBufferAllocation.getHostPtr()); in iterate() [all …]
|
/external/deqp/external/vulkancts/modules/vulkan/robustness/ |
D | vktRobustnessVertexAccessTests.cpp | 555 …populateBufferWithTestValues(m_vertexRateBufferAlloc->getHostPtr(), (deUint32)m_vertexRateBufferAl… in VertexAccessInstance() 583 …populateBufferWithTestValues(m_instanceRateBufferAlloc->getHostPtr(), (deUint32)m_instanceRateBuff… in VertexAccessInstance() 630 deMemcpy(m_indexBufferAlloc->getHostPtr(), indices.data(), (size_t)m_indexBufferSize); in VertexAccessInstance() 656 deMemset(m_outBufferAlloc->getHostPtr(), 0xFF, (size_t)m_outBufferSize); in VertexAccessInstance() 733 deUint32 *bufferPtr = reinterpret_cast<deUint32*>(m_vertexNumBufferAlloc->getHostPtr()); in iterate() 788 void* outDataPtr = m_outBufferAlloc->getHostPtr(); in verifyResult() 824 inBufferPtr = m_instanceRateBufferAlloc->getHostPtr(); in verifyResult() 836 inBufferPtr = m_vertexRateBufferAlloc->getHostPtr(); in verifyResult()
|
D | vktRobustnessBufferAccessTests.cpp | 763 populateBufferWithTestValues(m_inBufferAlloc->getHostPtr(), m_inBufferAllocSize, m_bufferFormat); in BufferAccessInstance() 807 deMemset(m_outBufferAlloc->getHostPtr(), 0xFF, (size_t)m_outBufferAllocSize); in BufferAccessInstance() 853 deMemcpy(m_indicesBufferAlloc->getHostPtr(), &indices, sizeof(IndicesBuffer)); in BufferAccessInstance() 1014 …deMemcpy(m_vertexBufferAlloc->getHostPtr(), vertices, sizeof(tcu::Vec4) * DE_LENGTH_OF_ARRAY(verti… in BufferAccessInstance() 1078 const deUint8 *const outValuePtr = (deUint8*)m_outBufferAlloc->getHostPtr() + offsetInBytes; in isOutBufferValueUnchanged() 1134 const void* inDataPtr = m_inBufferAlloc->getHostPtr(); in verifyResult() 1135 const void* outDataPtr = m_outBufferAlloc->getHostPtr(); in verifyResult()
|
/external/deqp/external/vulkancts/modules/vulkan/draw/ |
D | vktDrawShaderViewportIndexTests.cpp | 682 …deMemcpy(m_vertexBuffer->getBoundMemory().getHostPtr(), &m_vertices[0], static_cast<std::size_t>(v… in Renderer() 744 deMemcpy(colorsBufferAlloc.getHostPtr(), m_colors.data(), colorsBufferSize); in draw() 823 deMemset(alloc.getHostPtr(), 0, static_cast<std::size_t>(colorBufferSize)); in testVertexFragmentShader() 844 …ss resultImage (mapVkFormat(colorFormat), renderSize.x(), renderSize.y(), 1u, alloc.getHostPtr()); in testVertexFragmentShader() 884 deMemset(alloc.getHostPtr(), 0, static_cast<std::size_t>(colorBufferSize)); in testTessellationShader() 905 …ss resultImage (mapVkFormat(colorFormat), renderSize.x(), renderSize.y(), 1u, alloc.getHostPtr()); in testTessellationShader()
|
D | vktDrawShaderLayerTests.cpp | 614 …deMemcpy(m_vertexBuffer->getBoundMemory().getHostPtr(), &m_vertices[0], static_cast<std::size_t>(v… in Renderer() 740 deMemset(alloc.getHostPtr(), 0, static_cast<std::size_t>(colorBufferSize)); in testVertexShader() 761 deUint8* resultMem = reinterpret_cast<deUint8*>(alloc.getHostPtr()); in testVertexShader() 800 deMemset(alloc.getHostPtr(), 0, static_cast<std::size_t>(colorBufferSize)); in testTessellationShader() 821 deUint8* resultMem = reinterpret_cast<deUint8*>(alloc.getHostPtr()); in testTessellationShader()
|
/external/deqp/external/vulkancts/modules/vulkan/conditional_rendering/ |
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()
|
D | vktConditionalDispatchTests.cpp | 195 deUint8* outputBufferPtr = reinterpret_cast<deUint8*>(alloc.getHostPtr()); in iterate() 237 …deUint8* indirectBufferPtr = reinterpret_cast<deUint8*>(indirectBuffer.getAllocation().getHostPtr(… in iterate() 348 const deUint32* bufferPtr = static_cast<deUint32*>(outputBufferAllocation.getHostPtr()); in iterate()
|
/external/deqp/external/vulkancts/modules/vulkan/subgroups/ |
D | vktSubgroupsTestsUtils.cpp | 2412 deUint8* ptr = reinterpret_cast<deUint8*>(alloc.getHostPtr()); in initializeMemory() 2429 deUint16* ptr = reinterpret_cast<deUint16*>(alloc.getHostPtr()); in initializeMemory() 2442 deUint32* ptr = reinterpret_cast<deUint32*>(alloc.getHostPtr()); in initializeMemory() 2460 deUint32* ptr = reinterpret_cast<deUint32*>(alloc.getHostPtr()); in initializeMemory() 2477 deUint64* ptr = reinterpret_cast<deUint64*>(alloc.getHostPtr()); in initializeMemory() 2490 deFloat16* ptr = reinterpret_cast<deFloat16*>(alloc.getHostPtr()); in initializeMemory() 2503 float* ptr = reinterpret_cast<float*>(alloc.getHostPtr()); in initializeMemory() 2516 double* ptr = reinterpret_cast<double*>(alloc.getHostPtr()); in initializeMemory() 2528 deUint32* ptr = reinterpret_cast<deUint32*>(alloc.getHostPtr()); in initializeMemory() 2713 deMemcpy(alloc.getHostPtr(), &data[0], data.size() * sizeof(tcu::Vec4)); in makeTessellationEvaluationFrameBufferTestRequiredSubgroupSize() [all …]
|
/external/deqp/external/vulkancts/modules/vulkan/geometry/ |
D | vktGeometryBasicClass.cpp | 123 DataVec4* const pData = static_cast<DataVec4*>(alloc.getHostPtr()); in iterate() 179 …Access(mapVkFormat(colorFormat), resolution.x(), resolution.y(), 1, colorBufferAlloc.getHostPtr()); in iterate()
|
/external/deqp/external/vulkancts/modules/vulkan/fragment_ops/ |
D | vktFragmentOperationsEarlyFragmentTests.cpp | 359 tcu::Vec4* const pVertices = reinterpret_cast<tcu::Vec4*>(vertexBufferAlloc->getHostPtr()); in iterate() 380 deUint32* const pData = static_cast<deUint32*>(resultBufferAlloc->getHostPtr()); in iterate() 473 …ccess(mapVkFormat(colorFormat), renderSize.x(), renderSize.y(), 1, colorBufferAlloc->getHostPtr()); in iterate() 483 const int actualCounter = *static_cast<deInt32*>(resultBufferAlloc->getHostPtr()); in iterate()
|
/external/deqp/external/vulkancts/modules/vulkan/sparse_resources/ |
D | vktSparseResourcesBufferTests.cpp | 656 deMemset(m_colorBufferAlloc->getHostPtr(), 0, static_cast<std::size_t>(m_colorBufferSize)); in SparseBufferTestInstance() 708 …VkFormat(m_colorFormat), m_renderSize.x(), m_renderSize.y(), 1u, m_colorBufferAlloc->getHostPtr()); in isResultImageCorrect() 928 IVec4* const pData = static_cast<IVec4*>(stagingBufferAlloc->getHostPtr()); in iterate() 996 deMemcpy(m_vertexBufferAlloc->getHostPtr(), &vertexData[0], vertexBufferSize); in iterate() 1295 deUint8* pData = static_cast<deUint8*>(m_stagingBufferAlloc->getHostPtr()); in initializeBuffers() 1350 generateGrid(m_vertexBufferAlloc->getHostPtr(), step, -1.0f, -1.0f, GRID_SIZE, GRID_SIZE); in initializeBuffers() 1358 …deUint8* const pData = static_cast<deUint8*>(m_stagingBufferAlloc->getHostPtr()) + chunkNdx * m_p… in initializeBuffers() 1413 generateGrid(m_vertexBufferAlloc->getHostPtr(), 2.0f, -1.0f, -1.0f, 1, 1); in initializeBuffers() 1420 …deUint8* const pData = static_cast<deUint8*>(m_stagingBufferAlloc->getHostPtr()) + chunkNdx *… in initializeBuffers()
|
/external/deqp/external/vulkancts/modules/vulkan/spirv_assembly/ |
D | vktSpvAsmFromHlslTests.cpp | 120 int* bufferPtr = static_cast<int*>(inAllocation->getHostPtr()); in iterate() 206 const int* bufferPtr = static_cast<int*>(outAllocation->getHostPtr()); in iterate()
|
/external/deqp/external/vulkancts/modules/vulkan/ray_query/ |
D | vktRayQueryProceduralGeometryTests.cpp | 205 …ferAccess referenceAccess (imageFormat, imageSize, imageSize, 1, referenceAllocation.getHostPtr()); in iterate() 206 …xelBufferAccess resultAccess (imageFormat, imageSize, imageSize, 1, resultAllocation.getHostPtr()); in iterate() 229 void* bufferPtr = bufferAlloc.getHostPtr(); in clearBuffer()
|
/external/deqp/external/vulkancts/modules/vulkan/tessellation/ |
D | vktTessellationPrimitiveDiscardTests.cpp | 418 deMemcpy(alloc.getHostPtr(), &attributes[0], static_cast<std::size_t>(vertexDataSizeBytes)); in test() 431 deMemset(alloc.getHostPtr(), 0, static_cast<std::size_t>(resultBufferSizeBytes)); in test() 545 …ccess (mapVkFormat(colorFormat), renderSize.x(), renderSize.y(), 1, colorBufferAlloc.getHostPtr()); in test() 555 const deInt32 numResultVertices = *static_cast<deInt32*>(resultAlloc.getHostPtr()); in test()
|
D | vktTessellationFractionalSpacingTests.cpp | 585 float* const tessLevelOuter1 = static_cast<float*>(alloc.getHostPtr()); in test() 595 deMemset(alloc.getHostPtr(), 0, static_cast<std::size_t>(resultBufferSizeBytes)); in test() 628 const deInt32 numResults = *static_cast<deInt32*>(resultAlloc.getHostPtr()); in test() 629 …const std::vector<float> resultTessCoords = readFloatArray(numResults, resultAlloc.getHostPtr(), s… in test()
|
/external/deqp/external/vulkancts/modules/vulkan/image/ |
D | vktImageMultisampleLoadStoreTests.cpp | 270 deUint8* const basePtr = static_cast<deUint8*>(alloc.getHostPtr()); in test() 272 deMemset(alloc.getHostPtr(), 0, static_cast<size_t>(constantsBufferSizeBytes)); in test() 289 deMemset(alloc.getHostPtr(), 0, static_cast<size_t>(resultBufferSizeBytes)); in test() 437 const deInt32* pDataPtr = static_cast<deInt32*>(alloc.getHostPtr()); in test()
|
D | vktImageMisalignedCubeTests.cpp | 93 deUint8* dstBase = static_cast<deUint8*>(alloc.getHostPtr()); in fillBuffer() 257 const tcu::Vec4 resultColor = readVec4(resultBufferAlloc.getHostPtr(), layerNdx); in iterate() 270 const tcu::Vec4 resultColor = readVec4(resultBufferAlloc.getHostPtr(), layerNdx + 6u); in iterate()
|
/external/deqp/external/vulkancts/modules/vulkan/pipeline/ |
D | vktPipelineNoPositionTests.cpp | 455 void* vertexBufferPtr = vertexBufferAlloc.getHostPtr(); in iterate() 572 deMemset(ssboBufferAlloc.getHostPtr(), 0, static_cast<size_t>(ssboBufferSize)); in iterate() 646 auto verificationBufferPtr = reinterpret_cast<const char*>(verificationBufferAlloc.getHostPtr()); in iterate() 685 deMemcpy(ssboCounters.data(), ssboAlloc.getHostPtr(), ssboBufferSizeSz); in iterate()
|