Lines Matching refs:bufferAlloc
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()
316 flushAlloc(vk, device, *bufferAlloc); in uploadTestTextureInternal()
356 de::MovePtr<Allocation> bufferAlloc; in uploadTestTextureInternalSparse() local
384 …bufferAlloc = allocator.allocate(getBufferMemoryRequirements(vk, device, *buffer), MemoryRequireme… in uploadTestTextureInternalSparse()
386 …VK_CHECK(vk.bindBufferMemory(device, *buffer, bufferAlloc->getMemory(), bufferAlloc->getOffset())); in uploadTestTextureInternalSparse()
391 srcTexture.write(reinterpret_cast<deUint8*>(bufferAlloc->getHostPtr())); in uploadTestTextureInternalSparse()
397 srcStencilTexture->write(reinterpret_cast<deUint8*>(bufferAlloc->getHostPtr()) + stencilOffset); in uploadTestTextureInternalSparse()
409 flushAlloc(vk, device, *bufferAlloc); in uploadTestTextureInternalSparse()