/external/deqp/external/vulkancts/modules/vulkan/pipeline/ |
D | vktPipelineImageUtil.cpp | 217 de::MovePtr<Allocation> bufferAlloc; in readColorAttachment() local 240 …bufferAlloc = allocator.allocate(getBufferMemoryRequirements(vk, device, *buffer), MemoryRequireme… in readColorAttachment() 241 …VK_CHECK(vk.bindBufferMemory(device, *buffer, bufferAlloc->getMemory(), bufferAlloc->getOffset())); in readColorAttachment() 258 invalidateAlloc(vk, device, *bufferAlloc); in readColorAttachment() 259 …nstPixelBufferAccess(resultLevel->getFormat(), resultLevel->getSize(), bufferAlloc->getHostPtr())); in readColorAttachment() 275 de::MovePtr<Allocation> bufferAlloc; in readDepthAttachment() local 321 …bufferAlloc = allocator.allocate(getBufferMemoryRequirements(vk, device, *buffer), MemoryRequireme… in readDepthAttachment() 322 …VK_CHECK(vk.bindBufferMemory(device, *buffer, bufferAlloc->getMemory(), bufferAlloc->getOffset())); in readDepthAttachment() 336 invalidateAlloc(vk, device, *bufferAlloc); in readDepthAttachment() 337 …vel, tcu::ConstPixelBufferAccess(bufferFormat, resultLevel->getSize(), bufferAlloc->getHostPtr())); in readDepthAttachment() [all …]
|
D | vktPipelineMultisampleBaseResolveAndPerSampleFetch.cpp | 778 const Allocation& bufferAlloc = buffersPerSample[sampleNdx]->getAllocation(); in iterate() local 780 invalidateAlloc(deviceInterface, device, bufferAlloc); in iterate() 788 bufferAlloc.getHostPtr() in iterate()
|
D | vktPipelineMultisampleShaderBuiltInTests.cpp | 1473 const auto& bufferAlloc = stagingBuffer.getAllocation(); in iterate() local 1474 vk::invalidateAlloc(vkd, device, bufferAlloc); in iterate() 1479 …deMemcpy(access.getDataPtr(), reinterpret_cast<char*>(bufferAlloc.getHostPtr()) + bufferAlloc.getO… in iterate() 2049 auto& bufferAlloc = storageBuffer.getAllocation(); in iterate() local 2050 const void* bufferPtr = bufferAlloc.getHostPtr(); in iterate() 2053 vk::invalidateAlloc(vkd, device, bufferAlloc); in iterate()
|
D | vktPipelineBindPointTests.cpp | 361 auto& bufferAlloc = buffer.getAllocation(); in verifyBufferContents() local 362 const auto dataPtr = reinterpret_cast<deUint32*>(bufferAlloc.getHostPtr()); in verifyBufferContents() 365 invalidateAlloc(vkd, device, bufferAlloc); in verifyBufferContents()
|
/external/deqp/external/vulkancts/modules/vulkan/spirv_assembly/ |
D | vktSpvAsmComputeShaderCase.cpp | 537 AllocationMp bufferAlloc; in iterate() local 538 …AndBindMemory(m_context, vkdi, device, descType, allocator, numBytes, &bufferAlloc, m_shaderSpec.u… in iterate() 540 …setMemory(vkdi, device, &*bufferAlloc, numBytes, &inputBytes.front(), m_shaderSpec.coherentMemory); in iterate() 542 inputAllocs.push_back(de::SharedPtr<Allocation>(bufferAlloc.release())); in iterate() 554 AllocationMp bufferAlloc; in iterate() local 555 …AndBindMemory(m_context, vkdi, device, descType, allocator, numBytes, &bufferAlloc, m_shaderSpec.u… in iterate() 560 setMemory(vkdi, device, &*bufferAlloc, numBytes, &inputBytes.front()); in iterate() 563 inputAllocs.push_back(de::SharedPtr<Allocation>(bufferAlloc.release())); in iterate() 801 AllocationMp bufferAlloc; in iterate() local 803 allocator, numBytes, &bufferAlloc, false, m_shaderSpec.coherentMemory)); in iterate() [all …]
|
D | vktSpvAsmCrossStageInterfaceTests.cpp | 529 MovePtr<Allocation> bufferAlloc; in checkImage() local 549 …bufferAlloc = m_context.getDefaultAllocator().allocate(getBufferMemoryRequirements(vk, vkDevice, *… in checkImage() 550 …VK_CHECK(vk.bindBufferMemory(vkDevice, *buffer, bufferAlloc->getMemory(), bufferAlloc->getOffset()… in checkImage() 552 deMemset(bufferAlloc->getHostPtr(), 0, static_cast<size_t>(pixelDataSize)); in checkImage() 553 flushAlloc(vk, vkDevice, *bufferAlloc); in checkImage() 562 invalidateAlloc(vk, vkDevice, *bufferAlloc); in checkImage() 563 …tcu::copy(dst, tcu::ConstPixelBufferAccess(dst.getFormat(), dst.getSize(), bufferAlloc->getHostPtr… in checkImage()
|
/external/deqp/external/vulkancts/modules/vulkan/ray_query/ |
D | vktRayQueryDirectionTests.cpp | 322 auto& bufferAlloc = buffer.getAllocation(); in iterate() local 325 deMemset(bufferAlloc.getHostPtr(), 0, sizeof(float)); in iterate() 326 flushAlloc(vkd, device, bufferAlloc); in iterate() 415 invalidateAlloc(vkd, device, bufferAlloc); in iterate() 416 deMemcpy(&bufferValue, bufferAlloc.getHostPtr(), sizeof(bufferValue)); in iterate()
|
D | vktRayQueryProceduralGeometryTests.cpp | 228 auto& bufferAlloc = buffer->getAllocation(); in clearBuffer() local 229 void* bufferPtr = bufferAlloc.getHostPtr(); in clearBuffer() 232 vk::flushAlloc(vkd, device, bufferAlloc); in clearBuffer()
|
/external/deqp/external/vulkancts/modules/vulkan/ray_tracing/ |
D | vktRayTracingDirectionTests.cpp | 404 auto& bufferAlloc = buffer.getAllocation(); in iterate() local 407 deMemset(bufferAlloc.getHostPtr(), 0, sizeof(float)); in iterate() 408 flushAlloc(vkd, device, bufferAlloc); in iterate() 550 invalidateAlloc(vkd, device, bufferAlloc); in iterate() 551 deMemcpy(&bufferValue, bufferAlloc.getHostPtr(), sizeof(bufferValue)); in iterate()
|
D | vktRayTracingProceduralGeometryTests.cpp | 232 auto& bufferAlloc = buffer->getAllocation(); in clearBuffer() local 233 void* bufferPtr = bufferAlloc.getHostPtr(); in clearBuffer() 236 vk::flushAlloc(vkd, device, bufferAlloc); in clearBuffer()
|
D | vktRayTracingBarrierTests.cpp | 846 auto& bufferAlloc = buffer.getAllocation(); in fillStd140Buffer() local 847 auto* bufferPtr = bufferAlloc.getHostPtr(); in fillStd140Buffer() 854 flushAlloc(vkd, device, bufferAlloc); in fillStd140Buffer() 861 auto& bufferAlloc = buffer.getAllocation(); in fillStd430Buffer() local 862 auto* bufferPtr = bufferAlloc.getHostPtr(); in fillStd430Buffer() 868 flushAlloc(vkd, device, bufferAlloc); in fillStd430Buffer()
|
/external/deqp/external/vulkancts/modules/vulkan/geometry/ |
D | vktGeometryBasicGeometryShaderTests.cpp | 105 de::MovePtr<Allocation> bufferAlloc; in uploadImage() local 124 …bufferAlloc = memAlloc.allocate(getBufferMemoryRequirements(vk, device, *buffer), MemoryRequiremen… in uploadImage() 125 …VK_CHECK(vk.bindBufferMemory(device, *buffer, bufferAlloc->getMemory(), bufferAlloc->getOffset())); in uploadImage() 151 …const tcu::PixelBufferAccess destAccess (access.getFormat(), access.getSize(), bufferAlloc->getHos… in uploadImage() 153 flushAlloc(vk, device, *bufferAlloc); in uploadImage()
|
/external/deqp/external/vulkancts/modules/vulkan/api/ |
D | vktApiFillBufferTests.cpp | 202 const Allocation& bufferAlloc); 294 const Allocation& bufferAlloc) in uploadBuffer() argument 301 deMemcpy(bufferAlloc.getHostPtr(), bufferAccess.getDataPtr(), bufferSize); in uploadBuffer() 302 flushAlloc(vk, vkDevice, bufferAlloc); in uploadBuffer()
|
D | vktApiPipelineTests.cpp | 1266 auto& bufferAlloc = buffer.getAllocation(); in DestroyAfterEndTest() local 1267 void* bufferPtr = bufferAlloc.getHostPtr(); in DestroyAfterEndTest() 1271 vk::flushAlloc(vkd, device, bufferAlloc); in DestroyAfterEndTest() 1372 vk::invalidateAlloc(vkd, device, bufferAlloc); in DestroyAfterEndTest()
|
D | vktApiImageClearingTests.cpp | 1056 de::MovePtr<Allocation> bufferAlloc; in readImage() local 1073 …bufferAlloc = allocateBuffer(m_vki, m_vkd, m_context.getPhysicalDevice(), m_device, *buffer, Memor… in readImage() 1074 …VK_CHECK(m_vkd.bindBufferMemory(m_device, *buffer, bufferAlloc->getMemory(), bufferAlloc->getOffse… in readImage() 1137 invalidateAlloc(m_vkd, m_device, *bufferAlloc); in readImage() 1144 …const void* pLevelData = static_cast<const void*>(reinterpret_cast<deUint8*>(bufferAlloc->getHos… in readImage()
|
D | vktApiCopiesAndBlittingTests.cpp | 451 … uploadBuffer (tcu::ConstPixelBufferAccess bufferAccess, const Allocation& bufferAlloc); 595 …estInstance::uploadBuffer (tcu::ConstPixelBufferAccess bufferAccess, const Allocation& bufferAlloc) in uploadBuffer() argument 602 deMemcpy(bufferAlloc.getHostPtr(), bufferAccess.getDataPtr(), bufferSize); in uploadBuffer() 603 flushAlloc(vk, vkDevice, bufferAlloc); in uploadBuffer() 617 de::MovePtr<Allocation> bufferAlloc; in uploadImageAspect() local 637 …bufferAlloc = allocateBuffer(vki, vk, vkPhysDevice, vkDevice, *buffer, MemoryRequirement::HostVisi… in uploadImageAspect() 638 …VK_CHECK(vk.bindBufferMemory(vkDevice, *buffer, bufferAlloc->getMemory(), bufferAlloc->getOffset()… in uploadImageAspect() 727 deMemcpy(bufferAlloc->getHostPtr(), imageAccess.getDataPtr(), bufferSize); in uploadImageAspect() 728 flushAlloc(vk, vkDevice, *bufferAlloc); in uploadImageAspect() 828 de::MovePtr<Allocation> bufferAlloc; in readImageAspect() local [all …]
|
D | vktApiCommandBuffersTests.cpp | 303 de::MovePtr<Allocation> bufferAlloc; in readColorAttachment() local 323 …bufferAlloc = m_allocator.allocate(getBufferMemoryRequirements(m_vkd, m_device, *buffer), MemoryRe… in readColorAttachment() 324 …VK_CHECK(m_vkd.bindBufferMemory(m_device, *buffer, bufferAlloc->getMemory(), bufferAlloc->getOffse… in readColorAttachment() 335 invalidateAlloc(m_vkd, m_device, *bufferAlloc); in readColorAttachment() 336 …nstPixelBufferAccess(resultLevel->getFormat(), resultLevel->getSize(), bufferAlloc->getHostPtr())); in readColorAttachment()
|
/external/deqp/external/vulkancts/modules/vulkan/multiview/ |
D | vktMultiViewRenderTests.cpp | 1029 MovePtr<Allocation> bufferAlloc; in readImage() local 1047 …bufferAlloc = m_allocator->allocate(getBufferMemoryRequirements(*m_device, *m_logicalDevice, *buff… in readImage() 1048 …ECK(m_device->bindBufferMemory(*m_logicalDevice, *buffer, bufferAlloc->getMemory(), bufferAlloc->g… in readImage() 1050 deMemset(bufferAlloc->getHostPtr(), 0, static_cast<size_t>(pixelDataSize)); in readImage() 1051 flushAlloc(*m_device, *m_logicalDevice, *bufferAlloc); in readImage() 1107 invalidateAlloc(*m_device, *m_logicalDevice, *bufferAlloc); in readImage() 1108 …tcu::copy(dst, tcu::ConstPixelBufferAccess(dst.getFormat(), dst.getSize(), bufferAlloc->getHostPtr… in readImage() 1609 MovePtr<Allocation> bufferAlloc; in setImageData() local 1626 …bufferAlloc = m_allocator->allocate(getBufferMemoryRequirements(*m_device, *m_logicalDevice, *buff… in setImageData() 1627 …ECK(m_device->bindBufferMemory(*m_logicalDevice, *buffer, bufferAlloc->getMemory(), bufferAlloc->g… in setImageData() [all …]
|
/external/deqp/external/vulkancts/modules/vulkan/image/ |
D | vktImageSizeTests.cpp | 333 const Allocation& bufferAlloc = m_resultBuffer->getAllocation(); in iterate() local 334 invalidateAlloc(vk, device, bufferAlloc); in iterate() 336 const tcu::IVec3 resultSize = readIVec3(bufferAlloc.getHostPtr()); in iterate()
|
D | vktImageSubresourceLayoutTests.cpp | 395 auto& bufferAlloc = buffer.getAllocation(); in iterateAspect() local 396 auto* bufferPtr = reinterpret_cast<unsigned char*>(bufferAlloc.getHostPtr()); in iterateAspect() 416 flushAlloc(vkd, device, bufferAlloc); in iterateAspect()
|
/external/deqp/external/vulkancts/modules/vulkan/shaderrender/ |
D | vktShaderRender.cpp | 986 de::MovePtr<Allocation> bufferAlloc; in uploadImage() local 1022 …bufferAlloc = m_memAlloc.allocate(getBufferMemoryRequirements(vk, vkDevice, *buffer), MemoryRequir… in uploadImage() 1023 …VK_CHECK(vk.bindBufferMemory(vkDevice, *buffer, bufferAlloc->getMemory(), bufferAlloc->getOffset()… in uploadImage() 1029 deUint8* destPtr = (deUint8*)bufferAlloc->getHostPtr(); in uploadImage() 1069 flushAlloc(vk, vkDevice, *bufferAlloc); in uploadImage() 1254 de::MovePtr<Allocation> bufferAlloc; in uploadSparseImage() local 1293 …bufferAlloc = m_memAlloc.allocate(getBufferMemoryRequirements(vk, vkDevice, *buffer), MemoryRequir… in uploadSparseImage() 1295 …VK_CHECK(vk.bindBufferMemory(vkDevice, *buffer, bufferAlloc->getMemory(), bufferAlloc->getOffset()… in uploadSparseImage() 1301 deUint8* destPtr = (deUint8*)bufferAlloc->getHostPtr(); in uploadSparseImage()
|
/external/deqp/external/vulkancts/modules/vulkan/robustness/ |
D | vktRobustBufferAccessWithVariablePointersTests.cpp | 98 de::MovePtr<Allocation>& bufferAlloc, in createTestBuffer() argument 118 bufferAlloc = allocator.allocate(bufferMemoryReqs, MemoryRequirement::HostVisible); in createTestBuffer() 124 …VK_CHECK(deviceInterface.bindBufferMemory(device, *buffer, bufferAlloc->getMemory(), bufferAlloc->… in createTestBuffer() 125 fillBufferProc(bufferAlloc->getHostPtr(), bufferMemoryReqs.size, blob); in createTestBuffer() 126 …flushMappedMemoryRange(deviceInterface, device, bufferAlloc->getMemory(), bufferAlloc->getOffset()… in createTestBuffer()
|
/external/deqp/external/vulkancts/modules/vulkan/dynamic_state/ |
D | vktDynamicStateComputeTests.cpp | 101 auto& bufferAlloc = m_vertexBuffer->getAllocation(); in BindVertexBuffersData() local 103 deMemcpy(bufferAlloc.getHostPtr(), &vertex, m_dataSize); in BindVertexBuffersData() 104 flushAlloc(vkd, device, bufferAlloc); in BindVertexBuffersData()
|
/external/skqp/src/gpu/vk/ |
D | GrVkGpu.cpp | 1414 GrVkAlloc bufferAlloc; in createTestingOnlyVkImage() local 1504 &bufferAlloc)) { in createTestingOnlyVkImage() 1522 result = copy_testing_data(this, srcData, bufferAlloc, bufferOffset, currentRowBytes, in createTestingOnlyVkImage() 1526 result = copy_testing_data(this, srcData, bufferAlloc, bufferOffset, srcRowBytes, in createTestingOnlyVkImage() 1532 GrVkMemory::FreeBufferMemory(this, GrVkBuffer::kCopyRead_Type, bufferAlloc); in createTestingOnlyVkImage() 1637 GrVkMemory::FreeBufferMemory(this, GrVkBuffer::kCopyRead_Type, bufferAlloc); in createTestingOnlyVkImage() 1648 GrVkMemory::FreeBufferMemory(this, GrVkBuffer::kCopyRead_Type, bufferAlloc); in createTestingOnlyVkImage()
|
/external/deqp/external/vulkancts/modules/vulkan/binding_model/ |
D | vktBindingDescriptorUpdateTests.cpp | 892 const auto& bufferAlloc = buffers.back()->getAllocation(); in iterate() local 893 …const auto bufferPtr = reinterpret_cast<char*>(bufferAlloc.getHostPtr()) + bufferAlloc.getOffset(); in iterate() 895 vk::flushAlloc(vkd, device, bufferAlloc); in iterate()
|