Home
last modified time | relevance | path

Searched refs:copyRegion (Results 1 – 20 of 20) sorted by relevance

/external/skqp/src/gpu/vk/
DGrVkGpu.cpp1010 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, &copyRegion); in copyBuffer()
1845 VkImageCopy copyRegion; in copySurfaceAsCopyImage() local
1846 memset(&copyRegion, 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/
DGrVkGpu.cpp1012 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, &copyRegion); in copyBuffer()
1884 VkImageCopy copyRegion; in copySurfaceAsCopyImage() local
1885 memset(&copyRegion, 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/
DvktApiCopiesAndBlittingTests.cpp559 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, &copyRegion); 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/
DvktProtectedMemCopyBufferToImageTests.cpp246 const vk::VkBufferImageCopy copyRegion = in iterate() local
255 …etCmdBuffer, **srcBuffer, **colorImage, vk::VK_IMAGE_LAYOUT_TRANSFER_DST_OPTIMAL, 1u, &copyRegion); in iterate()
DvktProtectedMemCopyImageToBufferTests.cpp253 const vk::VkBufferImageCopy copyRegion = in iterate() local
262 …etCmdBuffer, **colorImage, vk::VK_IMAGE_LAYOUT_TRANSFER_SRC_OPTIMAL, **dstBuffer, 1u, &copyRegion); in iterate()
DvktProtectedMemUtils.cpp801 const vk::VkBufferImageCopy copyRegion = in uploadImage() local
819 …age(*cmdBuffer, **stagingBuffer, image, vk::VK_IMAGE_LAYOUT_TRANSFER_DST_OPTIMAL, 1u, &copyRegion); in uploadImage()
DvktProtectedMemStorageBufferTests.cpp152 const vk::VkBufferCopy copyRegion = in addBufferCopyCmd() local
158 vk.cmdCopyBuffer(cmdBuffer, srcBuffer, dstBuffer, 1, &copyRegion); in addBufferCopyCmd()
/external/vulkan-validation-layers/tests/
Dlayer_validation_tests.cpp4749 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/
DvktSynchronizationOperation.cpp618 const VkBufferCopy copyRegion = makeBufferCopy(0u, 0u, m_resource.getBuffer().size); in recordCommands() local
622 vk.cmdCopyBuffer(cmdBuffer, m_resource.getBuffer().handle, **m_hostBuffer, 1u, &copyRegion); in recordCommands()
629 vk.cmdCopyBuffer(cmdBuffer, **m_hostBuffer, m_resource.getBuffer().handle, 1u, &copyRegion); 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, &copyRegion); 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, &copyRegion); in recordCommands()
1876 …uffer(cmdBuffer, **m_image, VK_IMAGE_LAYOUT_TRANSFER_SRC_OPTIMAL, **m_hostBuffer, 1u, &copyRegion); 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, &copyRegion); in recordCommands()
[all …]
/external/deqp/external/vulkancts/modules/vulkan/util/
DvktDrawUtil.cpp702 …const VkBufferImageCopy copyRegion = makeBufferImageCopy(makeImageSubresourceLayers(VK_IMAGE_ASPEC… in VulkanDrawContext() local
704 …*m_resolveImage, VK_IMAGE_LAYOUT_TRANSFER_SRC_OPTIMAL, **m_colorAttachmentBuffer, 1u, &copyRegion); in VulkanDrawContext()
/external/deqp/external/vulkancts/modules/vulkan/image/
DvktImageMultisampleLoadStoreTests.cpp420 …const VkBufferImageCopy copyRegion = makeBufferImageCopy(makeExtent3D(caseDef.texture.layerSize())… in test() local
421 …cmdBuffer, **checksumImage, VK_IMAGE_LAYOUT_TRANSFER_SRC_OPTIMAL, **resultBuffer, 1u, &copyRegion); in test()
DvktImageCompressionTranscodingSupport.cpp713 const VkBufferImageCopy copyRegion = in copyDataToImage() local
723 …Buffer.get(), imageData.getImage(imageNdx), VK_IMAGE_LAYOUT_TRANSFER_DST_OPTIMAL, 1u, &copyRegion); in copyDataToImage()
864 const VkBufferImageCopy copyRegion = in copyResultAndCompare() local
884 …fer, uncompressed, VK_IMAGE_LAYOUT_TRANSFER_SRC_OPTIMAL, imageBufferResult.get(), 1u, &copyRegion); in copyResultAndCompare()
1179 const VkBufferImageCopy copyRegion = in decompressImage() local
1221 …nsferBuffer.get(), uncompressedImage.get(), VK_IMAGE_LAYOUT_TRANSFER_DST_OPTIMAL, 1u, &copyRegion); in decompressImage()
1271 …fer, resultImage.get(), VK_IMAGE_LAYOUT_TRANSFER_SRC_OPTIMAL, resultBuffer.get(), 1u, &copyRegion); in decompressImage()
1272 …eferenceImage.get(), VK_IMAGE_LAYOUT_TRANSFER_SRC_OPTIMAL, referenceBuffer.get(), 1u, &copyRegion); 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, &copyRegion); in verifyDecompression()
[all …]
DvktImageLoadStoreTests.cpp300 const VkBufferImageCopy copyRegion = makeBufferImageCopy(texture); in commandCopyImageToBuffer() local
307 …CopyImageToBuffer(cmdBuffer, image, VK_IMAGE_LAYOUT_TRANSFER_SRC_OPTIMAL, buffer, 1u, &copyRegion); 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, &copyRegion); in commandBeforeCompute()
/external/deqp/external/vulkancts/modules/vulkan/spirv_assembly/
DvktSpvAsmComputeShaderCase.cpp528 const VkBufferImageCopy copyRegion = in iterate() local
543 copyRegions.push_back(copyRegion); in iterate()
DvktSpvAsmGraphicsShaderTestUtil.cpp2415 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/
DvktGeometryBasicGeometryShaderTests.cpp128 const VkBufferImageCopy copyRegion = in uploadImage() local
147 vector<VkBufferImageCopy> copyRegions (1, copyRegion); in uploadImage()
/external/deqp/external/vulkancts/modules/vulkan/memory/
DvktMemoryBindingTests.cpp660 const VkBufferImageCopy copyRegion = in fillUpResource() local
677 …ufferToImage(*cmdBuffer, *source, *target, VK_IMAGE_LAYOUT_TRANSFER_DST_OPTIMAL, 1, (&copyRegion)); in fillUpResource()
/external/deqp/external/vulkancts/modules/vulkan/multiview/
DvktMultiViewRenderTests.cpp1073 const VkBufferImageCopy copyRegion = in readImage() local
1104 …ImageToBuffer(*m_cmdBuffer, image, VK_IMAGE_LAYOUT_TRANSFER_SRC_OPTIMAL, *buffer, 1u, &copyRegion); in readImage()
1658 const VkBufferImageCopy copyRegion = in setImageData() local
1684 …BufferToImage(*m_cmdBuffer, *buffer, image, VK_IMAGE_LAYOUT_TRANSFER_DST_OPTIMAL, 1u, &copyRegion); in setImageData()
3010 const VkBufferImageCopy copyRegion = in readImage() local
3031 …ImageToBuffer(*m_cmdBuffer, image, VK_IMAGE_LAYOUT_TRANSFER_SRC_OPTIMAL, *buffer, 1u, &copyRegion); in readImage()
/external/deqp/external/vulkancts/modules/vulkan/sparse_resources/
DvktSparseResourcesBufferTests.cpp946 const VkBufferCopy copyRegion = in iterate() local
957 vk.cmdCopyBuffer (*cmdBuffer, *stagingBuffer, *sparseBuffer, 1u, &copyRegion); in iterate()
/external/deqp/external/vulkancts/modules/vulkan/binding_model/
DvktBindingDescriptorSetRandomTests.cpp1657 const VkBufferImageCopy copyRegion = makeBufferImageCopy(makeExtent3D(DIM, DIM, 1u), in iterate() local
1659 ….cmdCopyImageToBuffer(*cmdBuffer, **image, VK_IMAGE_LAYOUT_GENERAL, **copyBuffer, 1u, &copyRegion); in iterate()