/external/deqp/external/vulkancts/modules/vulkan/pipeline/ |
D | vktPipelineImageUtil.cpp | 202 de::MovePtr<Allocation> bufferAlloc; in readColorAttachment() local 225 …bufferAlloc = allocator.allocate(getBufferMemoryRequirements(vk, device, *buffer), MemoryRequireme… in readColorAttachment() 226 …VK_CHECK(vk.bindBufferMemory(device, *buffer, bufferAlloc->getMemory(), bufferAlloc->getOffset())); in readColorAttachment() 243 invalidateAlloc(vk, device, *bufferAlloc); in readColorAttachment() 244 …nstPixelBufferAccess(resultLevel->getFormat(), resultLevel->getSize(), bufferAlloc->getHostPtr())); in readColorAttachment() 260 de::MovePtr<Allocation> bufferAlloc; in uploadTestTextureInternal() local 292 …bufferAlloc = allocator.allocate(getBufferMemoryRequirements(vk, device, *buffer), MemoryRequireme… in uploadTestTextureInternal() 293 …VK_CHECK(vk.bindBufferMemory(device, *buffer, bufferAlloc->getMemory(), bufferAlloc->getOffset())); in uploadTestTextureInternal() 298 srcTexture.write(reinterpret_cast<deUint8*>(bufferAlloc->getHostPtr())); in uploadTestTextureInternal() 304 srcStencilTexture->write(reinterpret_cast<deUint8*>(bufferAlloc->getHostPtr()) + stencilOffset); in uploadTestTextureInternal() [all …]
|
D | vktPipelineMultisampleBaseResolveAndPerSampleFetch.cpp | 759 const Allocation& bufferAlloc = buffersPerSample[sampleNdx]->getAllocation(); in iterate() local 761 invalidateAlloc(deviceInterface, device, bufferAlloc); in iterate() 769 bufferAlloc.getHostPtr() in iterate()
|
/external/deqp/external/vulkancts/modules/vulkan/spirv_assembly/ |
D | vktSpvAsmComputeShaderCase.cpp | 496 AllocationMp bufferAlloc; in iterate() local 497 …reateBufferAndBindMemory(vkdi, device, descType, allocator, numBytes, &bufferAlloc, m_shaderSpec.c… in iterate() 499 …setMemory(vkdi, device, &*bufferAlloc, numBytes, &inputBytes.front(), m_shaderSpec.coherentMemory); in iterate() 501 inputAllocs.push_back(de::SharedPtr<Allocation>(bufferAlloc.release())); in iterate() 513 AllocationMp bufferAlloc; in iterate() local 514 …fferHandleUp(createBufferAndBindMemory(vkdi, device, descType, allocator, numBytes, &bufferAlloc)); in iterate() 519 setMemory(vkdi, device, &*bufferAlloc, numBytes, &inputBytes.front()); in iterate() 522 inputAllocs.push_back(de::SharedPtr<Allocation>(bufferAlloc.release())); in iterate()
|
D | vktSpvAsmCrossStageInterfaceTests.cpp | 604 MovePtr<Allocation> bufferAlloc; in checkImage() local 624 …bufferAlloc = m_context.getDefaultAllocator().allocate(getBufferMemoryRequirements(vk, vkDevice, *… in checkImage() 625 …VK_CHECK(vk.bindBufferMemory(vkDevice, *buffer, bufferAlloc->getMemory(), bufferAlloc->getOffset()… in checkImage() 627 deMemset(bufferAlloc->getHostPtr(), 0, static_cast<size_t>(pixelDataSize)); in checkImage() 628 flushAlloc(vk, vkDevice, *bufferAlloc); in checkImage() 637 invalidateAlloc(vk, vkDevice, *bufferAlloc); in checkImage() 638 …tcu::copy(dst, tcu::ConstPixelBufferAccess(dst.getFormat(), dst.getSize(), bufferAlloc->getHostPtr… in checkImage()
|
/external/deqp/external/vulkancts/modules/vulkan/geometry/ |
D | vktGeometryBasicGeometryShaderTests.cpp | 104 de::MovePtr<Allocation> bufferAlloc; in uploadImage() local 123 …bufferAlloc = memAlloc.allocate(getBufferMemoryRequirements(vk, device, *buffer), MemoryRequiremen… in uploadImage() 124 …VK_CHECK(vk.bindBufferMemory(device, *buffer, bufferAlloc->getMemory(), bufferAlloc->getOffset())); in uploadImage() 150 …const tcu::PixelBufferAccess destAccess (access.getFormat(), access.getSize(), bufferAlloc->getHos… in uploadImage() 152 flushAlloc(vk, device, *bufferAlloc); in uploadImage()
|
/external/deqp/external/vulkancts/modules/vulkan/api/ |
D | vktApiFillBufferTests.cpp | 95 const Allocation& bufferAlloc); 187 const Allocation& bufferAlloc) in uploadBuffer() argument 194 deMemcpy(bufferAlloc.getHostPtr(), bufferAccess.getDataPtr(), bufferSize); in uploadBuffer() 195 flushAlloc(vk, vkDevice, bufferAlloc); in uploadBuffer()
|
D | vktApiImageClearingTests.cpp | 902 de::MovePtr<Allocation> bufferAlloc; in readImage() local 919 …bufferAlloc = allocateBuffer(m_vki, m_vkd, m_context.getPhysicalDevice(), m_device, *buffer, Memor… in readImage() 920 …VK_CHECK(m_vkd.bindBufferMemory(m_device, *buffer, bufferAlloc->getMemory(), bufferAlloc->getOffse… in readImage() 981 invalidateAlloc(m_vkd, m_device, *bufferAlloc); in readImage() 988 …const void* pLevelData = static_cast<const void*>(reinterpret_cast<deUint8*>(bufferAlloc->getHos… in readImage()
|
D | vktApiCopiesAndBlittingTests.cpp | 324 … uploadBuffer (tcu::ConstPixelBufferAccess bufferAccess, const Allocation& bufferAlloc); 447 …estInstance::uploadBuffer (tcu::ConstPixelBufferAccess bufferAccess, const Allocation& bufferAlloc) in uploadBuffer() argument 454 deMemcpy(bufferAlloc.getHostPtr(), bufferAccess.getDataPtr(), bufferSize); in uploadBuffer() 455 flushAlloc(vk, vkDevice, bufferAlloc); in uploadBuffer() 469 de::MovePtr<Allocation> bufferAlloc; in uploadImageAspect() local 489 …bufferAlloc = allocateBuffer(vki, vk, vkPhysDevice, vkDevice, *buffer, MemoryRequirement::HostVisi… in uploadImageAspect() 490 …VK_CHECK(vk.bindBufferMemory(vkDevice, *buffer, bufferAlloc->getMemory(), bufferAlloc->getOffset()… in uploadImageAspect() 578 deMemcpy(bufferAlloc->getHostPtr(), imageAccess.getDataPtr(), bufferSize); in uploadImageAspect() 579 flushAlloc(vk, vkDevice, *bufferAlloc); in uploadImageAspect() 671 de::MovePtr<Allocation> bufferAlloc; in readImageAspect() local [all …]
|
D | vktApiCommandBuffersTests.cpp | 298 de::MovePtr<Allocation> bufferAlloc; in readColorAttachment() local 318 …bufferAlloc = m_allocator.allocate(getBufferMemoryRequirements(m_vkd, m_device, *buffer), MemoryRe… in readColorAttachment() 319 …VK_CHECK(m_vkd.bindBufferMemory(m_device, *buffer, bufferAlloc->getMemory(), bufferAlloc->getOffse… in readColorAttachment() 330 invalidateAlloc(m_vkd, m_device, *bufferAlloc); in readColorAttachment() 331 …nstPixelBufferAccess(resultLevel->getFormat(), resultLevel->getSize(), bufferAlloc->getHostPtr())); in readColorAttachment()
|
/external/deqp/external/vulkancts/modules/vulkan/multiview/ |
D | vktMultiViewRenderTests.cpp | 1033 MovePtr<Allocation> bufferAlloc; in readImage() local 1051 …bufferAlloc = m_allocator->allocate(getBufferMemoryRequirements(*m_device, *m_logicalDevice, *buff… in readImage() 1052 …ECK(m_device->bindBufferMemory(*m_logicalDevice, *buffer, bufferAlloc->getMemory(), bufferAlloc->g… in readImage() 1054 deMemset(bufferAlloc->getHostPtr(), 0, static_cast<size_t>(pixelDataSize)); in readImage() 1055 …flushMappedMemoryRange(*m_device, *m_logicalDevice, bufferAlloc->getMemory(), bufferAlloc->getOffs… in readImage() 1111 …invalidateMappedMemoryRange(*m_device, *m_logicalDevice, bufferAlloc->getMemory(), bufferAlloc->ge… in readImage() 1112 …tcu::copy(dst, tcu::ConstPixelBufferAccess(dst.getFormat(), dst.getSize(), bufferAlloc->getHostPtr… in readImage() 1613 MovePtr<Allocation> bufferAlloc; in setImageData() local 1630 …bufferAlloc = m_allocator->allocate(getBufferMemoryRequirements(*m_device, *m_logicalDevice, *buff… in setImageData() 1631 …ECK(m_device->bindBufferMemory(*m_logicalDevice, *buffer, bufferAlloc->getMemory(), bufferAlloc->g… in setImageData() [all …]
|
/external/deqp/external/vulkancts/modules/vulkan/image/ |
D | vktImageSizeTests.cpp | 337 const Allocation& bufferAlloc = m_resultBuffer->getAllocation(); in iterate() local 338 invalidateAlloc(vk, device, bufferAlloc); in iterate() 340 const tcu::IVec3 resultSize = readIVec3(bufferAlloc.getHostPtr()); in iterate()
|
/external/deqp/external/vulkancts/modules/vulkan/shaderrender/ |
D | vktShaderRender.cpp | 967 de::MovePtr<Allocation> bufferAlloc; in uploadImage() local 1003 …bufferAlloc = m_memAlloc.allocate(getBufferMemoryRequirements(vk, vkDevice, *buffer), MemoryRequir… in uploadImage() 1004 …VK_CHECK(vk.bindBufferMemory(vkDevice, *buffer, bufferAlloc->getMemory(), bufferAlloc->getOffset()… in uploadImage() 1010 deUint8* destPtr = (deUint8*)bufferAlloc->getHostPtr(); in uploadImage() 1050 flushAlloc(vk, vkDevice, *bufferAlloc); in uploadImage() 1235 de::MovePtr<Allocation> bufferAlloc; in uploadSparseImage() local 1274 …bufferAlloc = m_memAlloc.allocate(getBufferMemoryRequirements(vk, vkDevice, *buffer), MemoryRequir… in uploadSparseImage() 1276 …VK_CHECK(vk.bindBufferMemory(vkDevice, *buffer, bufferAlloc->getMemory(), bufferAlloc->getOffset()… in uploadSparseImage() 1282 deUint8* destPtr = (deUint8*)bufferAlloc->getHostPtr(); in uploadSparseImage()
|
/external/deqp/external/vulkancts/modules/vulkan/robustness/ |
D | vktRobustBufferAccessWithVariablePointersTests.cpp | 113 de::MovePtr<Allocation>& bufferAlloc, in createTestBuffer() argument 133 bufferAlloc = allocator.allocate(bufferMemoryReqs, MemoryRequirement::HostVisible); in createTestBuffer() 139 …VK_CHECK(deviceInterface.bindBufferMemory(device, *buffer, bufferAlloc->getMemory(), bufferAlloc->… in createTestBuffer() 140 fillBufferProc(bufferAlloc->getHostPtr(), bufferMemoryReqs.size, blob); in createTestBuffer() 141 …flushMappedMemoryRange(deviceInterface, device, bufferAlloc->getMemory(), bufferAlloc->getOffset()… in createTestBuffer()
|
/external/skqp/src/gpu/vk/ |
D | GrVkGpu.cpp | 1406 GrVkAlloc bufferAlloc; in createTestingOnlyVkImage() local 1496 &bufferAlloc)) { in createTestingOnlyVkImage() 1514 result = copy_testing_data(this, srcData, bufferAlloc, bufferOffset, currentRowBytes, in createTestingOnlyVkImage() 1518 result = copy_testing_data(this, srcData, bufferAlloc, bufferOffset, srcRowBytes, in createTestingOnlyVkImage() 1524 GrVkMemory::FreeBufferMemory(this, GrVkBuffer::kCopyRead_Type, bufferAlloc); in createTestingOnlyVkImage() 1629 GrVkMemory::FreeBufferMemory(this, GrVkBuffer::kCopyRead_Type, bufferAlloc); in createTestingOnlyVkImage() 1640 GrVkMemory::FreeBufferMemory(this, GrVkBuffer::kCopyRead_Type, bufferAlloc); in createTestingOnlyVkImage()
|
/external/skia/src/gpu/vk/ |
D | GrVkGpu.cpp | 1418 GrVkAlloc bufferAlloc; in createTestingOnlyVkImage() local 1508 &bufferAlloc)) { in createTestingOnlyVkImage() 1526 result = copy_testing_data(this, srcData, bufferAlloc, bufferOffset, currentRowBytes, in createTestingOnlyVkImage() 1530 result = copy_testing_data(this, srcData, bufferAlloc, bufferOffset, srcRowBytes, in createTestingOnlyVkImage() 1536 GrVkMemory::FreeBufferMemory(this, GrVkBuffer::kCopyRead_Type, bufferAlloc); in createTestingOnlyVkImage() 1641 GrVkMemory::FreeBufferMemory(this, GrVkBuffer::kCopyRead_Type, bufferAlloc); in createTestingOnlyVkImage() 1652 GrVkMemory::FreeBufferMemory(this, GrVkBuffer::kCopyRead_Type, bufferAlloc); in createTestingOnlyVkImage()
|