Home
last modified time | relevance | path

Searched refs:getHostPtr (Results 1 - 25 of 656) sorted by relevance

12345678910>>...27

/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/api/
H A 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()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/api/
H A 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()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/video/
H A DvktBitstreamBufferImpl.cpp103 auto* bitstreamBasePtr = static_cast<deUint8*>(m_bitstreamBuffer->getAllocation().getHostPtr()); in CopyDataToBuffer()
143 auto* bitstreamBasePtr = static_cast<deUint8*>(m_bitstreamBuffer->getAllocation().getHostPtr()); in CheckAccess()
153 auto* bitstreamBasePtr = static_cast<deUint8*>(m_bitstreamBuffer->getAllocation().getHostPtr()); in MemsetData()
165 auto* bitstreamBasePtr = static_cast<deUint8*>(m_bitstreamBuffer->getAllocation().getHostPtr()); in CopyDataToBuffer()
187 auto* bitstreamBasePtr = static_cast<deUint8*>(m_bitstreamBuffer->getAllocation().getHostPtr()); in CopyDataFromBuffer()
205 auto* bitstreamBasePtr = static_cast<deUint8*>(m_bitstreamBuffer->getAllocation().getHostPtr()); in CopyDataFromBuffer()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/postmortem/
H A DvktPostmortemShaderTimeoutTests.cpp138 deUint32* storageBufferPtr = static_cast<deUint32*>(storageBufferAllocation.getHostPtr()); in iterate()
148 deUint32* uniformBufferPtr = static_cast<deUint32*>(uniformBufferAllocation.getHostPtr()); in iterate()
206 const deUint32* bufferPtr = static_cast<deUint32*>(storageAllocation.getHostPtr()); in iterate()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/postmortem/
H A DvktPostmortemShaderTimeoutTests.cpp138 deUint32* storageBufferPtr = static_cast<deUint32*>(storageBufferAllocation.getHostPtr()); in iterate()
148 deUint32* uniformBufferPtr = static_cast<deUint32*>(uniformBufferAllocation.getHostPtr()); in iterate()
206 const deUint32* bufferPtr = static_cast<deUint32*>(storageAllocation.getHostPtr()); in iterate()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/robustness/
H A DvktRobustnessIndexAccessTests.cpp130 deMemcpy(vertexBuffer.getAllocation().getHostPtr(), vertices.data(), vertices.size() * sizeof(float)); in iterate()
140 deMemcpy(indexBuffer.getAllocation().getHostPtr(), index.data(), index.size() * sizeof(deUint32)); in iterate()
156 deMemcpy(indirectBuffer.getAllocation().getHostPtr(), &drawIndirectCommand, sizeof(drawIndirectCommand)); in iterate()
165 *(reinterpret_cast<deUint32*>(indirectCountBuffer.getAllocation().getHostPtr())) = 1; in iterate()
273 tcu::ConstPixelBufferAccess outputAccess(resultFormat, renderSize.x(), renderSize.y(), 1u, outputBuffer.getAllocation().getHostPtr()); in iterate()
H A DvktRobustnessVertexAccessTests.cpp605 populateBufferWithTestValues(m_vertexRateBufferAlloc->getHostPtr(), (deUint32)m_vertexRateBufferAllocSize, m_inputFormat); in VertexAccessInstance()
633 populateBufferWithTestValues(m_instanceRateBufferAlloc->getHostPtr(), (deUint32)m_instanceRateBufferAllocSize, m_inputFormat); in VertexAccessInstance()
680 deMemcpy(m_indexBufferAlloc->getHostPtr(), indices.data(), (size_t)m_indexBufferSize); in VertexAccessInstance()
708 deMemset(m_outBufferAlloc->getHostPtr(), 0xFF, (size_t)m_outBufferSize); in VertexAccessInstance()
790 deUint32 *bufferPtr = reinterpret_cast<deUint32*>(m_vertexNumBufferAlloc->getHostPtr()); in iterate()
845 void* outDataPtr = m_outBufferAlloc->getHostPtr(); in verifyResult()
881 inBufferPtr = m_instanceRateBufferAlloc->getHostPtr(); in verifyResult()
893 inBufferPtr = m_vertexRateBufferAlloc->getHostPtr(); in verifyResult()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/compute/
H A DvktComputeBasicComputeShaderTests.cpp282 const deUint32* bufferPtr = static_cast<deUint32*>(bufferAllocation.getHostPtr()); in iterate()
464 const deUint32* bufferPtr = static_cast<deUint32*>(bufferAllocation.getHostPtr()); in iterate()
649 const deUint32* bufferPtr = static_cast<deUint32*>(bufferAllocation.getHostPtr()); in iterate()
784 deUint32* bufferPtr = static_cast<deUint32*>(stagingBufferAllocation.getHostPtr());
860 const deUint32* bufferPtr = static_cast<deUint32*>(outputBufferAllocation.getHostPtr());
861 const deUint32* refBufferPtr = static_cast<deUint32*>(stagingBuffer.getAllocation().getHostPtr());
983 deUint32* bufferPtr = static_cast<deUint32*>(inputBufferAllocation.getHostPtr());
1059 const deUint32* bufferPtr = static_cast<deUint32*>(outputBufferAllocation.getHostPtr());
1060 const deUint32* refBufferPtr = static_cast<deUint32*>(inputBuffer.getAllocation().getHostPtr());
1267 tcu::UVec4* bufferPtr = static_cast<tcu::UVec4*>(inputBufferAllocation.getHostPtr());
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/draw/
H A DvktDrawBufferObjectUtil.cpp79 void* Buffer::getHostPtr (void) const in getHostPtr() function in vkt::Draw::Buffer
83 return reinterpret_cast<uint8_t*>(m_allocation->getHostPtr()) + m_allocOffset; in getHostPtr()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/draw/
H A DvktDrawBufferObjectUtil.cpp79 void* Buffer::getHostPtr (void) const in getHostPtr() function in vkt::Draw::Buffer
83 return reinterpret_cast<uint8_t*>(m_allocation->getHostPtr()) + m_allocOffset; in getHostPtr()
/third_party/skia/third_party/externals/angle2/src/libANGLE/
H A DCLMemory.h43 void *getHostPtr() const;
112 inline void *Memory::getHostPtr() const in getHostPtr() function in cl::Memory
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/compute/
H A DvktComputeBasicComputeShaderTests.cpp268 const deUint32* bufferPtr = static_cast<deUint32*>(bufferAllocation.getHostPtr()); in iterate()
439 const deUint32* bufferPtr = static_cast<deUint32*>(bufferAllocation.getHostPtr()); in iterate()
612 const deUint32* bufferPtr = static_cast<deUint32*>(bufferAllocation.getHostPtr()); in iterate()
736 deUint32* bufferPtr = static_cast<deUint32*>(stagingBufferAllocation.getHostPtr());
812 const deUint32* bufferPtr = static_cast<deUint32*>(outputBufferAllocation.getHostPtr());
813 const deUint32* refBufferPtr = static_cast<deUint32*>(stagingBuffer.getAllocation().getHostPtr());
924 deUint32* bufferPtr = static_cast<deUint32*>(inputBufferAllocation.getHostPtr());
1000 const deUint32* bufferPtr = static_cast<deUint32*>(outputBufferAllocation.getHostPtr());
1001 const deUint32* refBufferPtr = static_cast<deUint32*>(inputBuffer.getAllocation().getHostPtr());
1196 tcu::UVec4* bufferPtr = static_cast<tcu::UVec4*>(inputBufferAllocation.getHostPtr());
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/robustness/
H A DvktRobustnessIndexAccessTests.cpp148 deMemcpy(vertexBuffer.getAllocation().getHostPtr(), vertices.data(), vertices.size() * sizeof(float)); in iterate()
158 deMemcpy(indexBuffer.getAllocation().getHostPtr(), index.data(), index.size() * sizeof(deUint32)); in iterate()
174 deMemcpy(indirectBuffer.getAllocation().getHostPtr(), &drawIndirectCommand, sizeof(drawIndirectCommand)); in iterate()
183 *(reinterpret_cast<deUint32*>(indirectCountBuffer.getAllocation().getHostPtr())) = 1; in iterate()
295 tcu::ConstPixelBufferAccess outputAccess(resultFormat, renderSize.x(), renderSize.y(), 1u, outputBuffer.getAllocation().getHostPtr()); in iterate()
627 deMemcpy(vertexBuffer.getAllocation().getHostPtr(), vertices.data(), vertices.size() * sizeof(tcu::Vec4)); in iterate()
664 deMemcpy(indexBuffer.getAllocation().getHostPtr(), indices.data(), size_t(allocSize)); in iterate()
679 deMemcpy(indirectBuffer.getAllocation().getHostPtr(), &drawIndirectCommand, sizeof(drawIndirectCommand)); in iterate()
687 *static_cast<deUint32*>(indirectCountBuffer.getAllocation().getHostPtr()) = 1u; in iterate()
802 tcu::ConstPixelBufferAccess resultAccess(resultFormat, renderSize.x(), renderSize.y(), 1u, outputBuffer.getAllocation().getHostPtr()); in iterate()
[all...]
H A DvktRobustnessVertexAccessTests.cpp598 populateBufferWithTestValues(m_vertexRateBufferAlloc->getHostPtr(), (deUint32)m_vertexRateBufferAllocSize, m_inputFormat); in VertexAccessInstance()
626 populateBufferWithTestValues(m_instanceRateBufferAlloc->getHostPtr(), (deUint32)m_instanceRateBufferAllocSize, m_inputFormat); in VertexAccessInstance()
673 deMemcpy(m_indexBufferAlloc->getHostPtr(), indices.data(), (size_t)m_indexBufferSize); in VertexAccessInstance()
701 deMemset(m_outBufferAlloc->getHostPtr(), 0xFF, (size_t)m_outBufferSize); in VertexAccessInstance()
783 deUint32 *bufferPtr = reinterpret_cast<deUint32*>(m_vertexNumBufferAlloc->getHostPtr()); in iterate()
838 void* outDataPtr = m_outBufferAlloc->getHostPtr(); in verifyResult()
874 inBufferPtr = m_instanceRateBufferAlloc->getHostPtr(); in verifyResult()
886 inBufferPtr = m_vertexRateBufferAlloc->getHostPtr(); in verifyResult()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/fragment_ops/
H A DvktFragmentOperationsEarlyFragmentTests.cpp415 tcu::Vec4* const pVertices = reinterpret_cast<tcu::Vec4*>(vertexBufferAlloc->getHostPtr()); in iterate()
437 deUint32* const pData = static_cast<deUint32*>(resultBufferAlloc->getHostPtr()); in iterate()
530 const tcu::ConstPixelBufferAccess imagePixelAccess(mapVkFormat(colorFormat), renderSize.x(), renderSize.y(), 1, colorBufferAlloc->getHostPtr()); in iterate()
581 const int actualCounter = *static_cast<deInt32*>(resultBufferAlloc->getHostPtr()); in iterate()
715 tcu::Vec4* const pVertices = reinterpret_cast<tcu::Vec4*>(vertexBufferAlloc->getHostPtr()); in iterate()
736 deUint32* const pData = static_cast<deUint32*>(resultBufferAlloc->getHostPtr()); in iterate()
838 const tcu::ConstPixelBufferAccess imagePixelAccess(mapVkFormat(colorFormat), renderSize.x(), renderSize.y(), 1, colorBufferAlloc->getHostPtr()); in iterate()
851 const tcu::ConstPixelBufferAccess dsPixelAccess (format, renderSize.x(), renderSize.y(), 1, dsBufferAlloc->getHostPtr()); in iterate()
907 const int actualCounter = *static_cast<deInt32*>(resultBufferAlloc->getHostPtr()); in iterate()
1463 tcu::Vec4* const pVertices = reinterpret_cast<tcu::Vec4*>(vertexBufferAlloc->getHostPtr());
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/tessellation/
H A DvktTessellationFractionalSpacingTests.cpp603 float* const tessLevelOuter1 = static_cast<float*>(alloc.getHostPtr());
613 deMemset(alloc.getHostPtr(), 0, static_cast<std::size_t>(resultBufferSizeBytes));
621 deMemset(alloc.getHostPtr(), 0, static_cast<std::size_t>(counterBufferSizeBytes));
656 const deInt32 numResults = *static_cast<deInt32*>(counterAlloc.getHostPtr());
657 const std::vector<float> resultTessCoords = readFloatArray(numResults, resultAlloc.getHostPtr());
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/fragment_shading_rate/
H A DvktFragmentShadingRateMiscTests.cpp396 deMemcpy(vrsVertAlloc.getHostPtr(), de::dataOrNull(vrsVertices), de::dataSize(vrsVertices)); in testEnableDisable()
397 deMemcpy(noVrsVertAlloc.getHostPtr(), de::dataOrNull(noVrsVertices), de::dataSize(noVrsVertices)); in testEnableDisable()
498 const tcu::ConstPixelBufferAccess resultAccess (tcuFormat, fbExtent, colorBuffer.getBufferAllocation().getHostPtr()); in testEnableDisable()
560 deMemcpy(vertexBufferAlloc.getHostPtr(), de::dataOrNull(vertices), de::dataSize(vertices)); in testNoFrag()
669 const tcu::ConstPixelBufferAccess colorResultAccess (colorTcuFormat, fbExtent, colorBuffer.getBufferAllocation().getHostPtr()); in testNoFrag()
670 const tcu::ConstPixelBufferAccess depthResultAccess (depthTcuFormat, fbExtent, depthBuffer.getBufferAllocation().getHostPtr()); in testNoFrag()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/pipeline/
H A DvktPipelineDescriptorLimitsTests.cpp307 char* pPosUbos[2] = { static_cast<char*>(uboBufferAllocs[0]->getHostPtr()) in iterate()
308 , static_cast<char*>(uboBufferAllocs[1]->getHostPtr()) }; in iterate()
310 char* pPosSsbos[2] = { static_cast<char*>(ssboBufferAllocs[0]->getHostPtr()) in iterate()
311 , static_cast<char*>(ssboBufferAllocs[1]->getHostPtr()) }; in iterate()
313 char* pPosSsboResult = static_cast<char*>(ssboBufferAllocResult->getHostPtr()); in iterate()
356 tcu::Vec4* const pVertices = reinterpret_cast<tcu::Vec4*>(vertexBufferAlloc->getHostPtr()); in iterate()
687 const tcu::ConstPixelBufferAccess imagePixelAccess (mapVkFormat(colorFormat), m_params.m_framebufferSize.x(), m_params.m_framebufferSize.y(), 1, resultImageBufferAlloc->getHostPtr()); in iterate()
696 const tcu::Vec4 resultValue = *static_cast<tcu::Vec4*>(ssboBufferAllocResult->getHostPtr()); in iterate()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/pipeline/
H A DvktPipelineDescriptorLimitsTests.cpp281 char* pPosUbos[2] = { static_cast<char*>(uboBufferAllocs[0]->getHostPtr()) in iterate()
282 , static_cast<char*>(uboBufferAllocs[1]->getHostPtr()) }; in iterate()
284 char* pPosSsbos[2] = { static_cast<char*>(ssboBufferAllocs[0]->getHostPtr()) in iterate()
285 , static_cast<char*>(ssboBufferAllocs[1]->getHostPtr()) }; in iterate()
287 char* pPosSsboResult = static_cast<char*>(ssboBufferAllocResult->getHostPtr()); in iterate()
328 tcu::Vec4* const pVertices = reinterpret_cast<tcu::Vec4*>(vertexBufferAlloc->getHostPtr()); in iterate()
656 const tcu::ConstPixelBufferAccess imagePixelAccess (mapVkFormat(colorFormat), m_framebufferSize.x(), m_framebufferSize.y(), 1, resultImageBufferAlloc->getHostPtr()); in iterate()
665 const tcu::Vec4 resultValue = *static_cast<tcu::Vec4*>(ssboBufferAllocResult->getHostPtr()); in iterate()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/geometry/
H A DvktGeometryBasicClass.cpp126 DataVec4* const pData = static_cast<DataVec4*>(alloc.getHostPtr()); in iterate()
182 const tcu::ConstPixelBufferAccess imagePixelAccess(mapVkFormat(colorFormat), resolution.x(), resolution.y(), 1, colorBufferAlloc.getHostPtr()); in iterate()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/spirv_assembly/
H A DvktSpvAsmFromHlslTests.cpp120 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_no_buildgn/vulkan/geometry/
H A DvktGeometryBasicClass.cpp126 DataVec4* const pData = static_cast<DataVec4*>(alloc.getHostPtr()); in iterate()
182 const tcu::ConstPixelBufferAccess imagePixelAccess(mapVkFormat(colorFormat), resolution.x(), resolution.y(), 1, colorBufferAlloc.getHostPtr()); in iterate()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/spirv_assembly/
H A DvktSpvAsmFromHlslTests.cpp120 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/conditional_rendering/
H A DvktConditionalDrawTests.cpp230 deUint8* indexBufferPtr = reinterpret_cast<deUint8*>(m_indexBuffer->getBoundMemory().getHostPtr()); in createAndBindIndexBuffer()
275 deUint8* ptr = reinterpret_cast<deUint8*>(m_indirectBuffer->getBoundMemory().getHostPtr()); in createIndirectBuffer()
319 deUint8* ptr = reinterpret_cast<deUint8*>(m_indirectBuffer->getBoundMemory().getHostPtr()); in createIndexedIndirectBuffer()
334 deUint8* countBufferPtr = reinterpret_cast<deUint8*>(m_indirectCountBuffer->getBoundMemory().getHostPtr()); in createIndirectCountBuffer()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/image/
H A DvktImageMultisampleLoadStoreTests.cpp307 deUint8* const basePtr = static_cast<deUint8*>(alloc.getHostPtr()); in test()
309 deMemset(alloc.getHostPtr(), 0, static_cast<size_t>(constantsBufferSizeBytes)); in test()
326 deMemset(alloc.getHostPtr(), 0, static_cast<size_t>(resultBufferSizeBytes)); in test()
476 const deInt32* pDataPtr = static_cast<deInt32*>(alloc.getHostPtr()); in test()

Completed in 24 milliseconds

12345678910>>...27