/external/skqp/src/gpu/vk/ |
D | GrVkGpu.cpp | 1010 VkBufferCopy copyRegion; in copyBuffer() local 1011 copyRegion.srcOffset = srcOffset; in copyBuffer() 1012 copyRegion.dstOffset = dstOffset; in copyBuffer() 1013 copyRegion.size = size; in copyBuffer() 1014 fCurrentCmdBuffer->copyBuffer(this, srcBuffer, dstBuffer, 1, ©Region); in copyBuffer() 1845 VkImageCopy copyRegion; in copySurfaceAsCopyImage() local 1846 memset(©Region, 0, sizeof(VkImageCopy)); in copySurfaceAsCopyImage() 1847 copyRegion.srcSubresource = { VK_IMAGE_ASPECT_COLOR_BIT, 0, 0, 1 }; in copySurfaceAsCopyImage() 1848 copyRegion.srcOffset = { srcVkRect.fLeft, srcVkRect.fTop, 0 }; in copySurfaceAsCopyImage() 1849 copyRegion.dstSubresource = { VK_IMAGE_ASPECT_COLOR_BIT, 0, 0, 1 }; in copySurfaceAsCopyImage() [all …]
|
/external/skia/src/gpu/vk/ |
D | GrVkGpu.cpp | 1012 VkBufferCopy copyRegion; in copyBuffer() local 1013 copyRegion.srcOffset = srcOffset; in copyBuffer() 1014 copyRegion.dstOffset = dstOffset; in copyBuffer() 1015 copyRegion.size = size; in copyBuffer() 1016 fCurrentCmdBuffer->copyBuffer(this, srcBuffer, dstBuffer, 1, ©Region); in copyBuffer() 1884 VkImageCopy copyRegion; in copySurfaceAsCopyImage() local 1885 memset(©Region, 0, sizeof(VkImageCopy)); in copySurfaceAsCopyImage() 1886 copyRegion.srcSubresource = { VK_IMAGE_ASPECT_COLOR_BIT, 0, 0, 1 }; in copySurfaceAsCopyImage() 1887 copyRegion.srcOffset = { srcVkRect.fLeft, srcVkRect.fTop, 0 }; in copySurfaceAsCopyImage() 1888 copyRegion.dstSubresource = { VK_IMAGE_ASPECT_COLOR_BIT, 0, 0, 1 }; in copySurfaceAsCopyImage() [all …]
|
/external/deqp/external/vulkancts/modules/vulkan/api/ |
D | vktApiCopiesAndBlittingTests.cpp | 559 const VkBufferImageCopy copyRegion = in uploadImageAspect() local 574 copyRegions.push_back(copyRegion); in uploadImageAspect() 755 const VkBufferImageCopy copyRegion = in readImageAspect() local 772 …ImageToBuffer(*m_cmdBuffer, image, VK_IMAGE_LAYOUT_TRANSFER_SRC_OPTIMAL, *buffer, 1u, ©Region); in readImageAspect() 4724 CopyRegion copyRegion; in addImageToImageAllFormatsDepthStencilTests() local 4740 copyRegion.imageCopy = testCopy; in addImageToImageAllFormatsDepthStencilTests() 4741 params.regions.push_back(copyRegion); in addImageToImageAllFormatsDepthStencilTests() 4754 copyRegion.imageCopy = testCopy; in addImageToImageAllFormatsDepthStencilTests() 4755 params.regions.push_back(copyRegion); in addImageToImageAllFormatsDepthStencilTests() 5133 CopyRegion copyRegion; in addImageToBufferTests() local [all …]
|
/external/deqp/external/vulkancts/modules/vulkan/protected_memory/ |
D | vktProtectedMemCopyBufferToImageTests.cpp | 246 const vk::VkBufferImageCopy copyRegion = in iterate() local 255 …etCmdBuffer, **srcBuffer, **colorImage, vk::VK_IMAGE_LAYOUT_TRANSFER_DST_OPTIMAL, 1u, ©Region); in iterate()
|
D | vktProtectedMemCopyImageToBufferTests.cpp | 253 const vk::VkBufferImageCopy copyRegion = in iterate() local 262 …etCmdBuffer, **colorImage, vk::VK_IMAGE_LAYOUT_TRANSFER_SRC_OPTIMAL, **dstBuffer, 1u, ©Region); in iterate()
|
D | vktProtectedMemUtils.cpp | 801 const vk::VkBufferImageCopy copyRegion = in uploadImage() local 819 …age(*cmdBuffer, **stagingBuffer, image, vk::VK_IMAGE_LAYOUT_TRANSFER_DST_OPTIMAL, 1u, ©Region); in uploadImage()
|
D | vktProtectedMemStorageBufferTests.cpp | 152 const vk::VkBufferCopy copyRegion = in addBufferCopyCmd() local 158 vk.cmdCopyBuffer(cmdBuffer, srcBuffer, dstBuffer, 1, ©Region); in addBufferCopyCmd()
|
/external/vulkan-validation-layers/tests/ |
D | layer_validation_tests.cpp | 4749 VkImageCopy copyRegion; in TEST_F() local 4750 copyRegion.srcSubresource.aspectMask = VK_IMAGE_ASPECT_COLOR_BIT; in TEST_F() 4751 copyRegion.srcSubresource.mipLevel = 0; in TEST_F() 4752 copyRegion.srcSubresource.baseArrayLayer = 0; in TEST_F() 4753 copyRegion.srcSubresource.layerCount = 1; in TEST_F() 4754 copyRegion.srcOffset.x = 0; in TEST_F() 4755 copyRegion.srcOffset.y = 0; in TEST_F() 4756 copyRegion.srcOffset.z = 0; in TEST_F() 4757 copyRegion.dstSubresource.aspectMask = VK_IMAGE_ASPECT_COLOR_BIT; in TEST_F() 4758 copyRegion.dstSubresource.mipLevel = 0; in TEST_F() [all …]
|
/external/deqp/external/vulkancts/modules/vulkan/synchronization/ |
D | vktSynchronizationOperation.cpp | 618 const VkBufferCopy copyRegion = makeBufferCopy(0u, 0u, m_resource.getBuffer().size); in recordCommands() local 622 vk.cmdCopyBuffer(cmdBuffer, m_resource.getBuffer().handle, **m_hostBuffer, 1u, ©Region); in recordCommands() 629 vk.cmdCopyBuffer(cmdBuffer, **m_hostBuffer, m_resource.getBuffer().handle, 1u, ©Region); in recordCommands() 1790 …const VkBufferImageCopy copyRegion = makeBufferImageCopy(m_resource.getImage().subresourceLayers, … in recordCommands() local 1798 …m_hostBuffer, m_resource.getImage().handle, VK_IMAGE_LAYOUT_TRANSFER_DST_OPTIMAL, 1u, ©Region); in recordCommands() 1856 const VkBufferImageCopy copyRegion = makeBufferImageCopy(m_subresourceLayers, m_imageExtent); in recordCommands() local 1866 …, m_resource.getBuffer().handle, **m_image, VK_IMAGE_LAYOUT_TRANSFER_DST_OPTIMAL, 1u, ©Region); in recordCommands() 1876 …uffer(cmdBuffer, **m_image, VK_IMAGE_LAYOUT_TRANSFER_SRC_OPTIMAL, **m_hostBuffer, 1u, ©Region); in recordCommands() 1993 const VkBufferImageCopy copyRegion = makeBufferImageCopy(m_subresourceLayers, m_imageExtent); in recordCommands() local 2003 …Image(cmdBuffer, **m_hostBuffer, **m_image, VK_IMAGE_LAYOUT_TRANSFER_DST_OPTIMAL, 1u, ©Region); in recordCommands() [all …]
|
/external/deqp/external/vulkancts/modules/vulkan/util/ |
D | vktDrawUtil.cpp | 702 …const VkBufferImageCopy copyRegion = makeBufferImageCopy(makeImageSubresourceLayers(VK_IMAGE_ASPEC… in VulkanDrawContext() local 704 …*m_resolveImage, VK_IMAGE_LAYOUT_TRANSFER_SRC_OPTIMAL, **m_colorAttachmentBuffer, 1u, ©Region); in VulkanDrawContext()
|
/external/deqp/external/vulkancts/modules/vulkan/image/ |
D | vktImageMultisampleLoadStoreTests.cpp | 420 …const VkBufferImageCopy copyRegion = makeBufferImageCopy(makeExtent3D(caseDef.texture.layerSize())… in test() local 421 …cmdBuffer, **checksumImage, VK_IMAGE_LAYOUT_TRANSFER_SRC_OPTIMAL, **resultBuffer, 1u, ©Region); in test()
|
D | vktImageCompressionTranscodingSupport.cpp | 713 const VkBufferImageCopy copyRegion = in copyDataToImage() local 723 …Buffer.get(), imageData.getImage(imageNdx), VK_IMAGE_LAYOUT_TRANSFER_DST_OPTIMAL, 1u, ©Region); in copyDataToImage() 864 const VkBufferImageCopy copyRegion = in copyResultAndCompare() local 884 …fer, uncompressed, VK_IMAGE_LAYOUT_TRANSFER_SRC_OPTIMAL, imageBufferResult.get(), 1u, ©Region); in copyResultAndCompare() 1179 const VkBufferImageCopy copyRegion = in decompressImage() local 1221 …nsferBuffer.get(), uncompressedImage.get(), VK_IMAGE_LAYOUT_TRANSFER_DST_OPTIMAL, 1u, ©Region); in decompressImage() 1271 …fer, resultImage.get(), VK_IMAGE_LAYOUT_TRANSFER_SRC_OPTIMAL, resultBuffer.get(), 1u, ©Region); in decompressImage() 1272 …eferenceImage.get(), VK_IMAGE_LAYOUT_TRANSFER_SRC_OPTIMAL, referenceBuffer.get(), 1u, ©Region); in decompressImage() 2080 …const VkBufferImageCopy copyRegion = makeBufferImageCopy(mipmapDims.x(), mipmapDims.y(), 0u… in verifyDecompression() local 2137 …fer(*cmdBuffer, refDstImage->get(), VK_IMAGE_LAYOUT_GENERAL, refDstBuffer->get(), 1u, ©Region); in verifyDecompression() [all …]
|
D | vktImageLoadStoreTests.cpp | 300 const VkBufferImageCopy copyRegion = makeBufferImageCopy(texture); in commandCopyImageToBuffer() local 307 …CopyImageToBuffer(cmdBuffer, image, VK_IMAGE_LAYOUT_TRANSFER_SRC_OPTIMAL, buffer, 1u, ©Region); in commandCopyImageToBuffer() 1122 const VkBufferImageCopy copyRegion = makeBufferImageCopy(m_texture); in commandBeforeCompute() local 1124 …r, m_imageBuffer->get(), m_imageSrc->get(), VK_IMAGE_LAYOUT_TRANSFER_DST_OPTIMAL, 1u, ©Region); in commandBeforeCompute()
|
/external/deqp/external/vulkancts/modules/vulkan/spirv_assembly/ |
D | vktSpvAsmComputeShaderCase.cpp | 528 const VkBufferImageCopy copyRegion = in iterate() local 543 copyRegions.push_back(copyRegion); in iterate()
|
D | vktSpvAsmGraphicsShaderTestUtil.cpp | 2415 const VkBufferImageCopy copyRegion = in copyBufferToImage() local 2433 …copyBufferToImage(vk, cmdBuffer, buffer, VK_WHOLE_SIZE, vector<VkBufferImageCopy>(1, copyRegion), … in copyBufferToImage()
|
/external/deqp/external/vulkancts/modules/vulkan/geometry/ |
D | vktGeometryBasicGeometryShaderTests.cpp | 128 const VkBufferImageCopy copyRegion = in uploadImage() local 147 vector<VkBufferImageCopy> copyRegions (1, copyRegion); in uploadImage()
|
/external/deqp/external/vulkancts/modules/vulkan/memory/ |
D | vktMemoryBindingTests.cpp | 660 const VkBufferImageCopy copyRegion = in fillUpResource() local 677 …ufferToImage(*cmdBuffer, *source, *target, VK_IMAGE_LAYOUT_TRANSFER_DST_OPTIMAL, 1, (©Region)); in fillUpResource()
|
/external/deqp/external/vulkancts/modules/vulkan/multiview/ |
D | vktMultiViewRenderTests.cpp | 1073 const VkBufferImageCopy copyRegion = in readImage() local 1104 …ImageToBuffer(*m_cmdBuffer, image, VK_IMAGE_LAYOUT_TRANSFER_SRC_OPTIMAL, *buffer, 1u, ©Region); in readImage() 1658 const VkBufferImageCopy copyRegion = in setImageData() local 1684 …BufferToImage(*m_cmdBuffer, *buffer, image, VK_IMAGE_LAYOUT_TRANSFER_DST_OPTIMAL, 1u, ©Region); in setImageData() 3010 const VkBufferImageCopy copyRegion = in readImage() local 3031 …ImageToBuffer(*m_cmdBuffer, image, VK_IMAGE_LAYOUT_TRANSFER_SRC_OPTIMAL, *buffer, 1u, ©Region); in readImage()
|
/external/deqp/external/vulkancts/modules/vulkan/sparse_resources/ |
D | vktSparseResourcesBufferTests.cpp | 946 const VkBufferCopy copyRegion = in iterate() local 957 vk.cmdCopyBuffer (*cmdBuffer, *stagingBuffer, *sparseBuffer, 1u, ©Region); in iterate()
|
/external/deqp/external/vulkancts/modules/vulkan/binding_model/ |
D | vktBindingDescriptorSetRandomTests.cpp | 1657 const VkBufferImageCopy copyRegion = makeBufferImageCopy(makeExtent3D(DIM, DIM, 1u), in iterate() local 1659 ….cmdCopyImageToBuffer(*cmdBuffer, **image, VK_IMAGE_LAYOUT_GENERAL, **copyBuffer, 1u, ©Region); in iterate()
|