/third_party/vk-gl-cts/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()
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/ |
D | CLMemory.h | 43 void *getHostPtr() const; 112 inline void *Memory::getHostPtr() const in getHostPtr() function
|
/third_party/vk-gl-cts/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()
|
/third_party/vk-gl-cts/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 …]
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/fragment_ops/ |
D | vktFragmentOperationsEarlyFragmentTests.cpp | 364 tcu::Vec4* const pVertices = reinterpret_cast<tcu::Vec4*>(vertexBufferAlloc->getHostPtr()); in iterate() 385 deUint32* const pData = static_cast<deUint32*>(resultBufferAlloc->getHostPtr()); in iterate() 478 …ccess(mapVkFormat(colorFormat), renderSize.x(), renderSize.y(), 1, colorBufferAlloc->getHostPtr()); in iterate() 488 const int actualCounter = *static_cast<deInt32*>(resultBufferAlloc->getHostPtr()); in iterate() 612 tcu::Vec4* const pVertices = reinterpret_cast<tcu::Vec4*>(vertexBufferAlloc->getHostPtr()); in iterate() 633 deUint32* const pData = static_cast<deUint32*>(resultBufferAlloc->getHostPtr()); in iterate() 735 …ccess(mapVkFormat(colorFormat), renderSize.x(), renderSize.y(), 1, colorBufferAlloc->getHostPtr()); in iterate() 748 …ufferAccess dsPixelAccess (format, renderSize.x(), renderSize.y(), 1, dsBufferAlloc->getHostPtr()); in iterate() 804 const int actualCounter = *static_cast<deInt32*>(resultBufferAlloc->getHostPtr()); in iterate() 1302 tcu::Vec4* const pVertices = reinterpret_cast<tcu::Vec4*>(vertexBufferAlloc->getHostPtr()); in iterate() [all …]
|
D | vktFragmentOperationsOcclusionQueryTests.cpp | 359 tcu::Vec4* const pVertices = reinterpret_cast<tcu::Vec4*>(dOccVertexBufferAlloc->getHostPtr()); in iterate() 378 tcu::Vec4* const pVertices = reinterpret_cast<tcu::Vec4*>(sOccVertexBufferAlloc->getHostPtr()); in iterate() 397 tcu::Vec4* const pVertices = reinterpret_cast<tcu::Vec4*>(vertexBufferAlloc->getHostPtr()); in iterate() 415 deUint32* const pData = static_cast<deUint32*>(resultBufferAlloc->getHostPtr()); in iterate() 582 … (mapVkFormat(colorFormat), m_renderSize.x(), m_renderSize.y(), 1, colorBufferAlloc->getHostPtr()); in iterate()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/robustness/ |
D | vktRobustnessVertexAccessTests.cpp | 563 …populateBufferWithTestValues(m_vertexRateBufferAlloc->getHostPtr(), (deUint32)m_vertexRateBufferAl… in VertexAccessInstance() 591 …populateBufferWithTestValues(m_instanceRateBufferAlloc->getHostPtr(), (deUint32)m_instanceRateBuff… in VertexAccessInstance() 638 deMemcpy(m_indexBufferAlloc->getHostPtr(), indices.data(), (size_t)m_indexBufferSize); in VertexAccessInstance() 664 deMemset(m_outBufferAlloc->getHostPtr(), 0xFF, (size_t)m_outBufferSize); in VertexAccessInstance() 741 deUint32 *bufferPtr = reinterpret_cast<deUint32*>(m_vertexNumBufferAlloc->getHostPtr()); in iterate() 796 void* outDataPtr = m_outBufferAlloc->getHostPtr(); in verifyResult() 832 inBufferPtr = m_instanceRateBufferAlloc->getHostPtr(); in verifyResult() 844 inBufferPtr = m_vertexRateBufferAlloc->getHostPtr(); in verifyResult()
|
D | vktRobustnessBufferAccessTests.cpp | 771 populateBufferWithTestValues(m_inBufferAlloc->getHostPtr(), m_inBufferAllocSize, m_bufferFormat); in BufferAccessInstance() 815 deMemset(m_outBufferAlloc->getHostPtr(), 0xFF, (size_t)m_outBufferAllocSize); in BufferAccessInstance() 861 deMemcpy(m_indicesBufferAlloc->getHostPtr(), &indices, sizeof(IndicesBuffer)); in BufferAccessInstance() 1022 …deMemcpy(m_vertexBufferAlloc->getHostPtr(), vertices, sizeof(tcu::Vec4) * DE_LENGTH_OF_ARRAY(verti… in BufferAccessInstance() 1086 const deUint8 *const outValuePtr = (deUint8*)m_outBufferAlloc->getHostPtr() + offsetInBytes; in isOutBufferValueUnchanged() 1142 const void* inDataPtr = m_inBufferAlloc->getHostPtr(); in verifyResult() 1143 const void* outDataPtr = m_outBufferAlloc->getHostPtr(); in verifyResult()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/ray_query/ |
D | vktRayQueryNonUniformArgsTests.cpp | 249 deMemset(outputBufferAlloc.getHostPtr(), 42, static_cast<size_t>(outputBufferSize)); in iterate() 329 deMemcpy(inputBufferAlloc.getHostPtr(), &argsBufferData, sizeof(argsBufferData)); in iterate() 348 deMemcpy(&outputVal, outputBufferAlloc.getHostPtr(), sizeof(outputVal)); in iterate()
|
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()
|
/third_party/vk-gl-cts/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()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/draw/ |
D | vktDrawShaderViewportIndexTests.cpp | 689 …deMemcpy(m_vertexBuffer->getBoundMemory().getHostPtr(), &m_vertices[0], static_cast<std::size_t>(v… in Renderer() 764 deMemcpy(colorsBufferAlloc.getHostPtr(), m_colors.data(), colorsBufferSize); in draw() 848 deMemset(alloc.getHostPtr(), 0, static_cast<std::size_t>(colorBufferSize)); in testVertexFragmentShader() 869 …ss resultImage (mapVkFormat(colorFormat), renderSize.x(), renderSize.y(), 1u, alloc.getHostPtr()); in testVertexFragmentShader() 909 deMemset(alloc.getHostPtr(), 0, static_cast<std::size_t>(colorBufferSize)); in testTessellationShader() 930 …ss resultImage (mapVkFormat(colorFormat), renderSize.x(), renderSize.y(), 1u, alloc.getHostPtr()); in testTessellationShader()
|
D | vktDrawShaderLayerTests.cpp | 638 …deMemcpy(m_vertexBuffer->getBoundMemory().getHostPtr(), &m_vertices[0], static_cast<std::size_t>(v… in Renderer() 788 deMemset(alloc.getHostPtr(), 0, static_cast<std::size_t>(colorBufferSize)); in testVertexShader() 809 deUint8* resultMem = reinterpret_cast<deUint8*>(alloc.getHostPtr()); in testVertexShader() 848 deMemset(alloc.getHostPtr(), 0, static_cast<std::size_t>(colorBufferSize)); in testTessellationShader() 869 deUint8* resultMem = reinterpret_cast<deUint8*>(alloc.getHostPtr()); in testTessellationShader()
|
/third_party/vk-gl-cts/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()
|
/third_party/vk-gl-cts/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() 1297 deUint8* pData = static_cast<deUint8*>(m_stagingBufferAlloc->getHostPtr()); in initializeBuffers() 1352 generateGrid(m_vertexBufferAlloc->getHostPtr(), step, -1.0f, -1.0f, GRID_SIZE, GRID_SIZE); in initializeBuffers() 1360 …deUint8* const pData = static_cast<deUint8*>(m_stagingBufferAlloc->getHostPtr()) + chunkNdx * m_p… in initializeBuffers() 1415 generateGrid(m_vertexBufferAlloc->getHostPtr(), 2.0f, -1.0f, -1.0f, 1, 1); in initializeBuffers() 1422 …deUint8* const pData = static_cast<deUint8*>(m_stagingBufferAlloc->getHostPtr()) + chunkNdx *… in initializeBuffers()
|
/third_party/vk-gl-cts/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()
|
/third_party/vk-gl-cts/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()
|
/third_party/vk-gl-cts/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()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/subgroups/ |
D | vktSubgroupsTestsUtils.cpp | 2386 deUint8* ptr = reinterpret_cast<deUint8*>(alloc.getHostPtr()); in initializeMemory() 2403 deUint16* ptr = reinterpret_cast<deUint16*>(alloc.getHostPtr()); in initializeMemory() 2416 deUint32* ptr = reinterpret_cast<deUint32*>(alloc.getHostPtr()); in initializeMemory() 2434 deUint32* ptr = reinterpret_cast<deUint32*>(alloc.getHostPtr()); in initializeMemory() 2451 deUint64* ptr = reinterpret_cast<deUint64*>(alloc.getHostPtr()); in initializeMemory() 2464 deFloat16* ptr = reinterpret_cast<deFloat16*>(alloc.getHostPtr()); in initializeMemory() 2477 float* ptr = reinterpret_cast<float*>(alloc.getHostPtr()); in initializeMemory() 2490 double* ptr = reinterpret_cast<double*>(alloc.getHostPtr()); in initializeMemory() 2502 deUint32* ptr = reinterpret_cast<deUint32*>(alloc.getHostPtr()); in initializeMemory() 2682 deMemcpy(alloc.getHostPtr(), &data[0], data.size() * sizeof(tcu::Vec4)); in makeTessellationEvaluationFrameBufferTestRequiredSubgroupSize() [all …]
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/pipeline/ |
D | vktPipelineNoPositionTests.cpp | 456 void* vertexBufferPtr = vertexBufferAlloc.getHostPtr(); in iterate() 573 deMemset(ssboBufferAlloc.getHostPtr(), 0, static_cast<size_t>(ssboBufferSize)); in iterate() 647 auto verificationBufferPtr = reinterpret_cast<const char*>(verificationBufferAlloc.getHostPtr()); in iterate() 686 deMemcpy(ssboCounters.data(), ssboAlloc.getHostPtr(), ssboBufferSizeSz); in iterate()
|