/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/pipeline/ |
D | vktPipelineImageUtil.cpp | 218 de::MovePtr<Allocation> bufferAlloc; in readColorAttachment() local 241 …bufferAlloc = allocator.allocate(getBufferMemoryRequirements(vk, device, *buffer), MemoryRequireme… in readColorAttachment() 242 …VK_CHECK(vk.bindBufferMemory(device, *buffer, bufferAlloc->getMemory(), bufferAlloc->getOffset())); in readColorAttachment() 259 invalidateAlloc(vk, device, *bufferAlloc); in readColorAttachment() 260 …nstPixelBufferAccess(resultLevel->getFormat(), resultLevel->getSize(), bufferAlloc->getHostPtr())); in readColorAttachment() 276 de::MovePtr<Allocation> bufferAlloc; in readDepthAttachment() local 322 …bufferAlloc = allocator.allocate(getBufferMemoryRequirements(vk, device, *buffer), MemoryRequireme… in readDepthAttachment() 323 …VK_CHECK(vk.bindBufferMemory(device, *buffer, bufferAlloc->getMemory(), bufferAlloc->getOffset())); in readDepthAttachment() 337 invalidateAlloc(vk, device, *bufferAlloc); in readDepthAttachment() 338 …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()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/spirv_assembly/ |
D | vktSpvAsmComputeShaderCase.cpp | 510 AllocationMp bufferAlloc; in iterate() local 511 …AndBindMemory(m_context, vkdi, device, descType, allocator, numBytes, &bufferAlloc, m_shaderSpec.u… in iterate() 513 …setMemory(vkdi, device, &*bufferAlloc, numBytes, &inputBytes.front(), m_shaderSpec.coherentMemory); in iterate() 515 inputAllocs.push_back(de::SharedPtr<Allocation>(bufferAlloc.release())); in iterate() 527 AllocationMp bufferAlloc; in iterate() local 528 …AndBindMemory(m_context, vkdi, device, descType, allocator, numBytes, &bufferAlloc, m_shaderSpec.u… in iterate() 533 setMemory(vkdi, device, &*bufferAlloc, numBytes, &inputBytes.front()); in iterate() 536 inputAllocs.push_back(de::SharedPtr<Allocation>(bufferAlloc.release())); in iterate() 774 AllocationMp bufferAlloc; in iterate() local 776 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()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/memory_model/ |
D | vktMemoryModelSharedLayoutCase.cpp | 382 …de::MovePtr<vk::Allocation> bufferAlloc (vk::bindBuffer (m_context.getDeviceInterface(), m… in iterate() local 385 deMemset(bufferAlloc->getHostPtr(), 0, bufferSize); in iterate() 386 flushMappedMemoryRange(vk, device, bufferAlloc->getMemory(), bufferAlloc->getOffset(), bufferSize); in iterate() 475 invalidateAlloc(vk, device, *bufferAlloc); in iterate() 477 resCount = *(static_cast<const int *>(bufferAlloc->getHostPtr())); in iterate()
|
/third_party/vk-gl-cts/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()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/ray_query/ |
D | vktRayQueryDirectionTests.cpp | 374 auto& bufferAlloc = buffer.getAllocation(); in iterate() local 377 deMemset(bufferAlloc.getHostPtr(), 0, sizeof(float)); in iterate() 378 flushAlloc(vkd, device, bufferAlloc); in iterate() 467 invalidateAlloc(vkd, device, bufferAlloc); in iterate() 468 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()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/ray_tracing/ |
D | vktRayTracingDirectionTests.cpp | 455 auto& bufferAlloc = buffer.getAllocation(); in iterate() local 458 deMemset(bufferAlloc.getHostPtr(), 0, sizeof(float)); in iterate() 459 flushAlloc(vkd, device, bufferAlloc); in iterate() 601 invalidateAlloc(vkd, device, bufferAlloc); in iterate() 602 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()
|
/third_party/vk-gl-cts/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 | 1332 auto& bufferAlloc = buffer.getAllocation(); in destroyEarlyTest() local 1333 void* bufferPtr = bufferAlloc.getHostPtr(); in destroyEarlyTest() 1337 vk::flushAlloc(vkd, device, bufferAlloc); in destroyEarlyTest() 1447 vk::invalidateAlloc(vkd, device, bufferAlloc); in destroyEarlyTest()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/multiview/ |
D | vktMultiViewRenderTests.cpp | 1079 MovePtr<Allocation> bufferAlloc; in readImage() local 1097 …bufferAlloc = m_allocator->allocate(getBufferMemoryRequirements(*m_device, *m_logicalDevice, *buff… in readImage() 1098 …ECK(m_device->bindBufferMemory(*m_logicalDevice, *buffer, bufferAlloc->getMemory(), bufferAlloc->g… in readImage() 1100 deMemset(bufferAlloc->getHostPtr(), 0, static_cast<size_t>(pixelDataSize)); in readImage() 1101 flushAlloc(*m_device, *m_logicalDevice, *bufferAlloc); in readImage() 1157 invalidateAlloc(*m_device, *m_logicalDevice, *bufferAlloc); in readImage() 1158 …tcu::copy(dst, tcu::ConstPixelBufferAccess(dst.getFormat(), dst.getSize(), bufferAlloc->getHostPtr… in readImage() 1677 MovePtr<Allocation> bufferAlloc; in setImageData() local 1694 …bufferAlloc = m_allocator->allocate(getBufferMemoryRequirements(*m_device, *m_logicalDevice, *buff… in setImageData() 1695 …ECK(m_device->bindBufferMemory(*m_logicalDevice, *buffer, bufferAlloc->getMemory(), bufferAlloc->g… in setImageData() [all …]
|
/third_party/vk-gl-cts/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()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/shaderrender/ |
D | vktShaderRender.cpp | 996 de::MovePtr<Allocation> bufferAlloc; in uploadImage() local 1032 …bufferAlloc = m_memAlloc.allocate(getBufferMemoryRequirements(vk, vkDevice, *buffer), MemoryRequir… in uploadImage() 1033 …VK_CHECK(vk.bindBufferMemory(vkDevice, *buffer, bufferAlloc->getMemory(), bufferAlloc->getOffset()… in uploadImage() 1039 deUint8* destPtr = (deUint8*)bufferAlloc->getHostPtr(); in uploadImage() 1079 flushAlloc(vk, vkDevice, *bufferAlloc); in uploadImage() 1264 de::MovePtr<Allocation> bufferAlloc; in uploadSparseImage() local 1303 …bufferAlloc = m_memAlloc.allocate(getBufferMemoryRequirements(vk, vkDevice, *buffer), MemoryRequir… in uploadSparseImage() 1305 …VK_CHECK(vk.bindBufferMemory(vkDevice, *buffer, bufferAlloc->getMemory(), bufferAlloc->getOffset()… in uploadSparseImage() 1311 deUint8* destPtr = (deUint8*)bufferAlloc->getHostPtr(); in uploadSparseImage()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/mesh_shader/ |
D | vktMeshShaderApiTests.cpp | 370 auto& bufferAlloc = buffer->getAllocation(); in makeStridedBuffer() local 371 char* bufferDataPtr = reinterpret_cast<char*>(bufferAlloc.getHostPtr()); in makeStridedBuffer() 382 flushAlloc(vkd, device, bufferAlloc); in makeStridedBuffer()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/binding_model/ |
D | vktBindingValveMutableTests.cpp | 596 auto& bufferAlloc = stagingBuffer.getAllocation(); in Resource() local 597 void* bufferData = bufferAlloc.getHostPtr(); in Resource() 600 flushAlloc(vkd, device, bufferAlloc); in Resource() 639 auto& bufferAlloc = bufferWithMemory->getAllocation(); in Resource() local 640 void* bufferData = bufferAlloc.getHostPtr(); in Resource() 644 flushAlloc(vkd, device, bufferAlloc); in Resource() 758 auto& bufferAlloc = stagingBuffer.getAllocation(); in getStoredValue() local 759 void* bufferData = bufferAlloc.getHostPtr(); in getStoredValue() 789 invalidateAlloc(vkd, device, bufferAlloc); in getStoredValue() 796 auto& bufferAlloc = bufferWithMemory->getAllocation(); in getStoredValue() local [all …]
|
D | vktBindingDescriptorUpdateTests.cpp | 893 const auto& bufferAlloc = buffers.back()->getAllocation(); in iterate() local 894 …const auto bufferPtr = reinterpret_cast<char*>(bufferAlloc.getHostPtr()) + bufferAlloc.getOffset(); in iterate() 896 vk::flushAlloc(vkd, device, bufferAlloc); in iterate()
|
/third_party/vk-gl-cts/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()
|
/third_party/vk-gl-cts/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()
|
/third_party/flutter/skia/src/gpu/vk/ |
D | GrVkGpu.cpp | 1620 GrVkAlloc bufferAlloc; in createVkImageForBackendSurface() local 1706 &bufferAlloc)) { in createVkImageForBackendSurface() 1716 result = copy_compressed_src_data(this, bufferAlloc, compressionType, w, h, srcData); in createVkImageForBackendSurface() 1719 result = copy_src_data(this, bufferAlloc, vkFormat, w, h, srcData, srcRowBytes); in createVkImageForBackendSurface() 1723 GrVkMemory::FreeBufferMemory(this, GrVkBuffer::kCopyRead_Type, bufferAlloc); in createVkImageForBackendSurface() 1828 GrVkMemory::FreeBufferMemory(this, GrVkBuffer::kCopyRead_Type, bufferAlloc); in createVkImageForBackendSurface() 1840 GrVkMemory::FreeBufferMemory(this, GrVkBuffer::kCopyRead_Type, bufferAlloc); in createVkImageForBackendSurface()
|