Home
last modified time | relevance | path

Searched refs:getHostPtr (Results 1 – 25 of 53) sorted by relevance

123

/external/deqp/external/vulkancts/modules/vulkan/api/
DvktApiComputeInstanceResultBuffer.cpp48 deMemcpy(*results, m_bufferMem->getHostPtr(), sizeof(*results)); in readResultContentsTo()
76 void* mapPtr = allocation->getHostPtr(); in createResultBuffer()
DvktApiBufferViewAccessTests.cpp338 deMemcpy(m_uniformBufferAlloc->getHostPtr(), uniformData.data(), (size_t)uniformSize); in BufferViewTestInstance()
616 deMemcpy(m_vertexBufferAlloc->getHostPtr(), m_vertices.data(), (size_t)vertexDataSize); in BufferViewTestInstance()
784 …BufferAccess(resultLevel->getFormat(), resultLevel->getSize(), m_resultBufferAlloc->getHostPtr())); in checkResult()
837 deMemcpy(m_uniformBufferAlloc->getHostPtr(), uniformData.data(), (size_t)uniformSize); in iterate()
DvktApiSmokeTests.cpp869 void* vertexBufPtr = vertexBufferMemory->getHostPtr(); in renderTriangleTest()
912 …s resultAccess (tcuFormat, renderSize.x(), renderSize.y(), 1, readImageBufferMemory->getHostPtr()); in renderTriangleTest()
1486 void* vertexBufPtr = vertexBufferMemory->getHostPtr(); in renderTriangleUnusedResolveAttachmentTest()
1529 …s resultAccess (tcuFormat, renderSize.x(), renderSize.y(), 1, readImageBufferMemory->getHostPtr()); in renderTriangleUnusedResolveAttachmentTest()
DvktApiBufferComputeInstance.cpp69 void* mapPtr = allocation->getHostPtr(); in createColorDataBuffer()
DvktApiCopiesAndBlittingTests.cpp217 deMemcpy(bufferAlloc.getHostPtr(), bufferAccess.getDataPtr(), bufferSize); in uploadBuffer()
354 deMemcpy(bufferAlloc->getHostPtr(), imageAccess.getDataPtr(), bufferSize); in uploadImage()
578 …nstPixelBufferAccess(resultLevel->getFormat(), resultLevel->getSize(), bufferAlloc->getHostPtr())); in readImage()
966 …rAccess(resultLevel->getFormat(), resultLevel->getSize(), m_destinationBufferAlloc->getHostPtr())); in iterate()
1169 …rAccess(resultLevel->getFormat(), resultLevel->getSize(), m_destinationBufferAlloc->getHostPtr())); in iterate()
/external/deqp/external/vulkancts/modules/vulkan/compute/
DvktComputeBasicComputeShaderTests.cpp255 const deUint32* bufferPtr = static_cast<deUint32*>(bufferAllocation.getHostPtr()); in iterate()
426 const deUint32* bufferPtr = static_cast<deUint32*>(bufferAllocation.getHostPtr()); in iterate()
599 const deUint32* bufferPtr = static_cast<deUint32*>(bufferAllocation.getHostPtr()); in iterate()
723 deUint32* bufferPtr = static_cast<deUint32*>(stagingBufferAllocation.getHostPtr()); in iterate()
814 const deUint32* bufferPtr = static_cast<deUint32*>(outputBufferAllocation.getHostPtr()); in iterate()
815 const deUint32* refBufferPtr = static_cast<deUint32*>(stagingBuffer.getAllocation().getHostPtr()); in iterate()
933 deUint32* bufferPtr = static_cast<deUint32*>(inputBufferAllocation.getHostPtr()); in iterate()
1024 const deUint32* bufferPtr = static_cast<deUint32*>(outputBufferAllocation.getHostPtr()); in iterate()
1025 const deUint32* refBufferPtr = static_cast<deUint32*>(inputBuffer.getAllocation().getHostPtr()); in iterate()
1220 tcu::UVec4* bufferPtr = static_cast<tcu::UVec4*>(inputBufferAllocation.getHostPtr()); in iterate()
[all …]
DvktComputeIndirectComputeDispatchTests.cpp183 deUint8* indirectDataPtr = reinterpret_cast<deUint8*>(alloc.getHostPtr()); in fillIndirectBufferData()
229 deUint8* resultDataPtr = reinterpret_cast<deUint8*>(alloc.getHostPtr()); in iterate()
337 const deUint8* const resultDataPtr = reinterpret_cast<deUint8*>(alloc.getHostPtr()); in verifyResultBuffer()
DvktComputeShaderBuiltinVarTests.cpp418 memcpy(alloc.getHostPtr(), &stride, sizeOfUniformBuffer); in iterate()
480 const deUint8* ptr = reinterpret_cast<deUint8*>(resultAlloc.getHostPtr()); in iterate()
/external/deqp/external/vulkancts/modules/vulkan/spirv_assembly/
DvktSpvAsmComputeShaderCase.cpp78 void* const hostPtr = destAlloc->getHostPtr(); in setMemory()
86 void* const hostPtr = destAlloc->getHostPtr(); in fillMemoryWithValue()
414 …if (deMemCmp(expectedOutput->data(), outputAllocs[outputNdx]->getHostPtr(), expectedOutput->getNum… in iterate()
/external/deqp/external/vulkancts/framework/vulkan/
DvkMemUtil.hpp63 void* getHostPtr (void) const { DE_ASSERT(m_hostPtr); return m_hostPtr; } in getHostPtr() function in vk::Allocation
/external/deqp/external/vulkancts/modules/vulkan/sparse_resources/
DvktSparseResourcesBufferSparseBinding.cpp255 deMemcpy(inputBuffer->getAllocation().getHostPtr(), &referenceData[0], m_bufferSize); in iterate()
308 const deUint8* outputData = static_cast<const deUint8*>(allocation.getHostPtr()); in iterate()
DvktSparseResourcesBufferSparseResidency.cpp287 deMemcpy(inputBuffer->getAllocation().getHostPtr(), &referenceData[0], m_bufferSize); in iterate()
379 const deUint8* outputData = static_cast<const deUint8*>(allocation.getHostPtr()); in iterate()
DvktSparseResourcesImageSparseBinding.cpp301 deMemcpy(inputBuffer->getAllocation().getHostPtr(), &referenceData[0], imageSizeInBytes); in iterate()
378 const deUint8* outputData = static_cast<const deUint8*>(allocation.getHostPtr()); in iterate()
DvktSparseResourcesMipmapSparseResidency.cpp451 deMemcpy(inputBuffer->getAllocation().getHostPtr(), &referenceData[0], imageSizeInBytes); in iterate()
528 const deUint8* outputData = static_cast<const deUint8*>(allocation.getHostPtr()); in iterate()
/external/deqp/external/vulkancts/modules/vulkan/draw/
DvktDrawIndexedTest.cpp131 deUint8* ptr = reinterpret_cast<deUint8*>(m_indexBuffer->getBoundMemory().getHostPtr()); in iterate()
232 deUint8* ptr = reinterpret_cast<deUint8*>(m_indexBuffer->getBoundMemory().getHostPtr()); in iterate()
DvktDrawImageObjectUtil.cpp379 deUint8* destPtr = reinterpret_cast<deUint8*>(stagingResource->getBoundMemory().getHostPtr()); in readUsingBuffer()
412 const deUint8* srcPtr = reinterpret_cast<const deUint8*>(getBoundMemory().getHostPtr()); in readLinear()
709 deUint8* destPtr = reinterpret_cast<deUint8*>(stagingResource->getBoundMemory().getHostPtr()); in uploadUsingBuffer()
803 deUint8* destPtr = reinterpret_cast<deUint8*>(getBoundMemory().getHostPtr()); in uploadLinear()
DvktDrawBaseClass.cpp128 deUint8* ptr = reinterpret_cast<deUint8*>(m_vertexBuffer->getBoundMemory().getHostPtr()); in initialize()
DvktDrawIndirectTest.cpp250 deUint8* ptr = reinterpret_cast<deUint8*>(m_indirectBuffer->getBoundMemory().getHostPtr()); in iterate()
433 deUint8* ptr = reinterpret_cast<deUint8*>(m_indirectBuffer->getBoundMemory().getHostPtr()); in iterate()
/external/deqp/external/vulkancts/modules/vulkan/pipeline/
DvktPipelineEarlyFragmentTests.cpp877 tcu::Vec4* const pVertices = reinterpret_cast<tcu::Vec4*>(alloc.getHostPtr()); in iterate()
898 deUint32* const pData = static_cast<deUint32*>(alloc.getHostPtr()); in iterate()
1014 … imagePixelAccess(mapVkFormat(colorFormat), renderSize.x(), renderSize.y(), 1, alloc.getHostPtr()); in iterate()
1025 const int actualCounter = *static_cast<deInt32*>(alloc.getHostPtr()); in iterate()
DvktPipelineCacheTests.cpp838 …deMemcpy(m_vertexBufferMemory->getHostPtr(), m_vertices.data(), m_vertices.size() * sizeof(Vertex4… in GraphicsCacheTestInstance()
1282 tcu::Vec4* pVec = reinterpret_cast<tcu::Vec4*>(m_inputBufferAlloc->getHostPtr()); in buildBuffers()
1295 pVec = reinterpret_cast<tcu::Vec4*>(m_outputBufferAlloc[ndx]->getHostPtr()); in buildBuffers()
1470 …Cache = reinterpret_cast<deUint8*>(m_outputBufferAlloc[PIPELINE_CACHE_NDX_NO_CACHE]->getHostPtr()); in verifyTestResult()
1471 …Cached = reinterpret_cast<deUint8*>(m_outputBufferAlloc[PIPELINE_CACHE_NDX_CACHED]->getHostPtr()); in verifyTestResult()
/external/deqp/external/vulkancts/modules/vulkan/query_pool/
DvktQueryPoolImageObjectUtil.cpp356 char* destPtr = reinterpret_cast<char*>(stagingResource->getBoundMemory().getHostPtr()); in readUsingBuffer()
389 const char* srcPtr = reinterpret_cast<const char*>(getBoundMemory().getHostPtr()); in readLinear()
686 char* destPtr = reinterpret_cast<char*>(stagingResource->getBoundMemory().getHostPtr()); in uploadUsingBuffer()
781 char* destPtr = reinterpret_cast<char*>(getBoundMemory().getHostPtr()); in uploadLinear()
/external/deqp/external/vulkancts/modules/vulkan/dynamic_state/
DvktDynamicStateImageObjectUtil.cpp379 char* destPtr = reinterpret_cast<char*>(stagingResource->getBoundMemory().getHostPtr()); in readUsingBuffer()
412 const char* srcPtr = reinterpret_cast<const char*>(getBoundMemory().getHostPtr()); in readLinear()
709 char* destPtr = reinterpret_cast<char*>(stagingResource->getBoundMemory().getHostPtr()); in uploadUsingBuffer()
803 char* destPtr = reinterpret_cast<char*>(getBoundMemory().getHostPtr()); in uploadLinear()
/external/deqp/external/vulkancts/modules/vulkan/shaderrender/
DvktShaderRender.cpp532 deMemcpy(alloc->getHostPtr(), dataPtr, size); in setupUniformData()
603 deMemcpy(alloc->getHostPtr(), dataPtr, (size_t)inputSize); in addAttribute()
802 …efTexture.getFormat(), refTexture.getWidth(), refTexture.getHeight(), 1, allocation->getHostPtr()); in uploadImage2D()
1486 deMemcpy(m_indiceBufferAlloc->getHostPtr(), quadGrid.getIndices(), (size_t)indiceBufferSize); in render()
1733 …cess (resultFormat, m_renderSize.x(), m_renderSize.y(), 1, readImageBufferMemory->getHostPtr()); in render()
/external/deqp/external/vulkancts/modules/vulkan/image/
DvktImageLoadStoreTests.cpp635 const tcu::ConstPixelBufferAccess result(mapVkFormat(m_format), imageSize, alloc.getHostPtr()); in verifyResult()
700 deUint8* const basePtr = static_cast<deUint8*>(alloc.getHostPtr()); in ImageStoreTestInstance()
702 deMemset(alloc.getHostPtr(), 0, static_cast<size_t>(constantsBufferSizeBytes)); in ImageStoreTestInstance()
998 …deMemcpy(alloc.getHostPtr(), m_referenceImage.getAccess().getDataPtr(), static_cast<size_t>(m_imag… in LoadStoreTestInstance()
1013 …u::ConstPixelBufferAccess result(mapVkFormat(m_imageFormat), m_texture.size(), alloc.getHostPtr()); in verifyResult()
/external/deqp/external/vulkancts/modules/vulkan/
DvktSynchronization.cpp191 deMemcpy(buffer.allocation->getHostPtr(), bufferParameters.memory, (size_t)bufferParameters.size); in createVulkanBuffer()
1088 resultImage = testContext.renderReadBuffer->getHostPtr(); in testFences()
1198 resultImage = testContext1.renderReadBuffer->getHostPtr(); in testSemaphores()
1224 resultImage = testContext2.renderReadBuffer->getHostPtr(); in testSemaphores()
1328 resultImage = testContext.renderReadBuffer->getHostPtr(); in testEvents()

123