Searched refs:copyToImage (Results 1 – 1 of 1) sorted by relevance
3052 VkBufferImageCopy copyToImage = {}; in stageSubresourceUpdateFromFramebuffer() local3053 copyToImage.bufferOffset = static_cast<VkDeviceSize>(stagingOffset); in stageSubresourceUpdateFromFramebuffer()3054 copyToImage.bufferRowLength = 0; // Tightly packed data can be specified as 0. in stageSubresourceUpdateFromFramebuffer()3055 copyToImage.bufferImageHeight = clippedRectangle.height; in stageSubresourceUpdateFromFramebuffer()3056 copyToImage.imageSubresource.aspectMask = VK_IMAGE_ASPECT_COLOR_BIT; in stageSubresourceUpdateFromFramebuffer()3057 copyToImage.imageSubresource.mipLevel = index.getLevelIndex(); in stageSubresourceUpdateFromFramebuffer()3058 copyToImage.imageSubresource.baseArrayLayer = index.hasLayer() ? index.getLayerIndex() : 0; in stageSubresourceUpdateFromFramebuffer()3059 copyToImage.imageSubresource.layerCount = index.getLayerCount(); in stageSubresourceUpdateFromFramebuffer()3060 gl_vk::GetOffset(dstOffset, ©ToImage.imageOffset); in stageSubresourceUpdateFromFramebuffer()3061 gl_vk::GetExtent(dstExtent, ©ToImage.imageExtent); in stageSubresourceUpdateFromFramebuffer()[all …]