Home
last modified time | relevance | path

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

12345

/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/mesh_shader/
DvktMeshShaderSyncTests.cpp960 const auto copyRegion = makeBufferCopy(0ull, 0ull, bufferSize); in iterate() local
961 vkd.cmdCopyBuffer(cmdBuffer, hostCoherentBuffer->get(), bufferResource->get(), 1u, &copyRegion); in iterate()
973 const auto copyRegion = makeBufferImageCopy(imageExtent, colorSRL); in iterate() local
974 …oImage(cmdBuffer, hostCoherentBuffer->get(), imageResource->get(), currentLayout, 1u, &copyRegion); in iterate()
1123 const auto copyRegion = makeBufferCopy(0ull, 0ull, bufferSize); in iterate() local
1124 vkd.cmdCopyBuffer(cmdBuffer, bufferResource->get(), hostCoherentBuffer->get(), 1u, &copyRegion); in iterate()
1128 const auto copyRegion = makeBufferImageCopy(imageExtent, colorSRL); in iterate() local
1129 …Buffer(cmdBuffer, imageResource->get(), currentLayout, hostCoherentBuffer->get(), 1u, &copyRegion); in iterate()
1150 const auto copyRegion = makeBufferImageCopy(imageExtent, colorSRL); in iterate() local
1151 …ffer.get(), VK_IMAGE_LAYOUT_TRANSFER_SRC_OPTIMAL, colorVerificationBuffer->get(), 1u, &copyRegion); in iterate()
DvktMeshShaderSyncTestsEXT.cpp1163 const auto copyRegion = makeBufferCopy(0ull, 0ull, bufferSize); in iterate() local
1164 vkd.cmdCopyBuffer(cmdBuffer, hostCoherentBuffer->get(), bufferResource->get(), 1u, &copyRegion); in iterate()
1176 const auto copyRegion = makeBufferImageCopy(imageExtent, colorSRL); in iterate() local
1177 …oImage(cmdBuffer, hostCoherentBuffer->get(), imageResource->get(), currentLayout, 1u, &copyRegion); in iterate()
1346 const auto copyRegion = makeBufferCopy(0ull, 0ull, bufferSize); in iterate() local
1347 vkd.cmdCopyBuffer(cmdBuffer, bufferResource->get(), hostCoherentBuffer->get(), 1u, &copyRegion); in iterate()
1351 const auto copyRegion = makeBufferImageCopy(imageExtent, colorSRL); in iterate() local
1352 …Buffer(cmdBuffer, imageResource->get(), currentLayout, hostCoherentBuffer->get(), 1u, &copyRegion); in iterate()
1373 const auto copyRegion = makeBufferImageCopy(imageExtent, colorSRL); in iterate() local
1374 …ffer.get(), VK_IMAGE_LAYOUT_TRANSFER_SRC_OPTIMAL, colorVerificationBuffer->get(), 1u, &copyRegion); in iterate()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/mesh_shader/
DvktMeshShaderSyncTests.cpp960 const auto copyRegion = makeBufferCopy(0ull, 0ull, bufferSize); in iterate() local
961 vkd.cmdCopyBuffer(cmdBuffer, hostCoherentBuffer->get(), bufferResource->get(), 1u, &copyRegion); in iterate()
973 const auto copyRegion = makeBufferImageCopy(imageExtent, colorSRL); in iterate() local
974 …oImage(cmdBuffer, hostCoherentBuffer->get(), imageResource->get(), currentLayout, 1u, &copyRegion); in iterate()
1123 const auto copyRegion = makeBufferCopy(0ull, 0ull, bufferSize); in iterate() local
1124 vkd.cmdCopyBuffer(cmdBuffer, bufferResource->get(), hostCoherentBuffer->get(), 1u, &copyRegion); in iterate()
1128 const auto copyRegion = makeBufferImageCopy(imageExtent, colorSRL); in iterate() local
1129 …Buffer(cmdBuffer, imageResource->get(), currentLayout, hostCoherentBuffer->get(), 1u, &copyRegion); in iterate()
1150 const auto copyRegion = makeBufferImageCopy(imageExtent, colorSRL); in iterate() local
1151 …ffer.get(), VK_IMAGE_LAYOUT_TRANSFER_SRC_OPTIMAL, colorVerificationBuffer->get(), 1u, &copyRegion); in iterate()
DvktMeshShaderSyncTestsEXT.cpp1163 const auto copyRegion = makeBufferCopy(0ull, 0ull, bufferSize); in iterate() local
1164 vkd.cmdCopyBuffer(cmdBuffer, hostCoherentBuffer->get(), bufferResource->get(), 1u, &copyRegion); in iterate()
1176 const auto copyRegion = makeBufferImageCopy(imageExtent, colorSRL); in iterate() local
1177 …oImage(cmdBuffer, hostCoherentBuffer->get(), imageResource->get(), currentLayout, 1u, &copyRegion); in iterate()
1346 const auto copyRegion = makeBufferCopy(0ull, 0ull, bufferSize); in iterate() local
1347 vkd.cmdCopyBuffer(cmdBuffer, bufferResource->get(), hostCoherentBuffer->get(), 1u, &copyRegion); in iterate()
1351 const auto copyRegion = makeBufferImageCopy(imageExtent, colorSRL); in iterate() local
1352 …Buffer(cmdBuffer, imageResource->get(), currentLayout, hostCoherentBuffer->get(), 1u, &copyRegion); in iterate()
1373 const auto copyRegion = makeBufferImageCopy(imageExtent, colorSRL); in iterate() local
1374 …ffer.get(), VK_IMAGE_LAYOUT_TRANSFER_SRC_OPTIMAL, colorVerificationBuffer->get(), 1u, &copyRegion); in iterate()
DvktMeshShaderProvokingVertexTestsEXT.cpp391 const auto copyRegion = makeBufferImageCopy(colorExtent, colorSRL); in iterate() local
392 …olorBuffer.get(), VK_IMAGE_LAYOUT_TRANSFER_SRC_OPTIMAL, verificationBuffer.get(), 1u, &copyRegion); in iterate()
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/
DBufferVk.cpp178 VkBufferCopy copyRegion = {static_cast<VkDeviceSize>(sourceOffset), in copySubData() local
183 &copyRegion); in copySubData()
315 VkBufferCopy copyRegion = {0, offset, size}; in setDataImpl() local
317 VK_ACCESS_HOST_WRITE_BIT, copyRegion)); in setDataImpl()
Dvk_helpers.h509 const VkBufferCopy &copyRegion);
882 SubresourceUpdate(VkBuffer bufferHandle, const VkBufferImageCopy &copyRegion);
883 SubresourceUpdate(vk::ImageHelper *image, const VkImageCopy &copyRegion);
893 return updateSource == UpdateSource::Buffer ? buffer.copyRegion.imageSubresource in dstSubresource()
894 : image.copyRegion.dstSubresource; in dstSubresource()
914 VkBufferImageCopy copyRegion; member
919 VkImageCopy copyRegion; member
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/api/
DvktApiCopiesAndBlittingTests.cpp767 const VkBufferImageCopy copyRegion = in uploadImageAspect() local
782 copyRegions.push_back(copyRegion); in uploadImageAspect()
967 const VkBufferImageCopy copyRegion = in readImageAspect() local
984 …ImageToBuffer(*m_cmdBuffer, image, VK_IMAGE_LAYOUT_TRANSFER_SRC_OPTIMAL, *buffer, 1u, &copyRegion); in readImageAspect()
4564 VkBufferImageCopy copyRegion in uploadCompressedImage() local
4587 …BufferToImage(*m_cmdBuffer, *buffer, image, VK_IMAGE_LAYOUT_TRANSFER_DST_OPTIMAL, 1u, &copyRegion); in uploadCompressedImage()
9487 CopyRegion copyRegion; in addImageToImageDimensionsTests() local
9509 copyRegion.imageCopy = testCopy; in addImageToImageDimensionsTests()
9513 testParams.params.regions.push_back(copyRegion); in addImageToImageDimensionsTests()
9656 CopyRegion copyRegion; in addImageToImageAllFormatsDepthStencilTests() local
[all …]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/api/
DvktApiCopiesAndBlittingTests.cpp767 const VkBufferImageCopy copyRegion = in uploadImageAspect() local
782 copyRegions.push_back(copyRegion); in uploadImageAspect()
967 const VkBufferImageCopy copyRegion = in readImageAspect() local
984 …ImageToBuffer(*m_cmdBuffer, image, VK_IMAGE_LAYOUT_TRANSFER_SRC_OPTIMAL, *buffer, 1u, &copyRegion); in readImageAspect()
4564 VkBufferImageCopy copyRegion in uploadCompressedImage() local
4587 …BufferToImage(*m_cmdBuffer, *buffer, image, VK_IMAGE_LAYOUT_TRANSFER_DST_OPTIMAL, 1u, &copyRegion); in uploadCompressedImage()
9487 CopyRegion copyRegion; in addImageToImageDimensionsTests() local
9509 copyRegion.imageCopy = testCopy; in addImageToImageDimensionsTests()
9513 testParams.params.regions.push_back(copyRegion); in addImageToImageDimensionsTests()
9656 CopyRegion copyRegion; in addImageToImageAllFormatsDepthStencilTests() local
[all …]
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/
DBufferVk.cpp545 const VkBufferCopy copyRegion = {static_cast<VkDeviceSize>(sourceOffset) + sourceBufferOffset, in copySubData() local
549 commandBuffer->copyBuffer(sourceBuffer.getBuffer(), mBuffer->getBuffer(), 1, &copyRegion); in copySubData()
578 VkBufferCopy copyRegion = {mBufferOffset + offset, mHostVisibleBufferOffset, size}; in handleDeviceLocalBufferMap() local
579 ANGLE_TRY(hostVisibleBuffer->copyFromBuffer(contextVk, mBuffer, 1, &copyRegion)); in handleDeviceLocalBufferMap()
595 VkBufferCopy copyRegion = {mHostVisibleBufferOffset, mBufferOffset + offset, size}; in handleDeviceLocalBufferUnmap() local
596 ANGLE_TRY(mBuffer->copyFromBuffer(contextVk, hostVisibleBuffer, 1, &copyRegion)); in handleDeviceLocalBufferUnmap()
1002 VkBufferCopy copyRegion = {stagingBufferOffset, mBufferOffset + offset, size}; in flushMappedStagingBuffer() local
1004 mBuffer->copyFromBuffer(contextVk, stagingBuffer->getCurrentBuffer(), 1, &copyRegion)); in flushMappedStagingBuffer()
Dvk_helpers.cpp3773 VkBufferCopy copyRegion = {}; in initializeNonZeroMemory() local
3774 copyRegion.srcOffset = 0; in initializeNonZeroMemory()
3775 copyRegion.dstOffset = 0; in initializeNonZeroMemory()
3776 copyRegion.size = size; in initializeNonZeroMemory()
3778 commandBuffer.copyBuffer(stagingBuffer.getBuffer(), mBuffer, 1, &copyRegion); in initializeNonZeroMemory()
4452 VkBufferImageCopy copyRegion = {}; in initializeNonZeroMemory() local
4454 gl_vk::GetExtent(getLevelExtents(level), &copyRegion.imageExtent); in initializeNonZeroMemory()
4455 copyRegion.imageSubresource.aspectMask = getAspectFlags(); in initializeNonZeroMemory()
4456 copyRegion.imageSubresource.layerCount = mLayerCount; in initializeNonZeroMemory()
4462 copyRegion.imageSubresource.aspectMask = VK_IMAGE_ASPECT_DEPTH_BIT; in initializeNonZeroMemory()
[all …]
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/image/
DvktImageAstcDecodeModeTests.cpp282 const VkBufferImageCopy copyRegion = in iterate() local
292 …e(*cmdBuffer, inBuffer.get(), image->get(), VK_IMAGE_LAYOUT_TRANSFER_DST_OPTIMAL, 1u, &copyRegion); in iterate()
336 const VkBufferImageCopy copyRegion = in iterate() local
345 …fer, resultImage.get(), VK_IMAGE_LAYOUT_TRANSFER_SRC_OPTIMAL, resultBuffer.get(), 1u, &copyRegion); in iterate()
DvktImageTransfer.cpp207 const vk::VkBufferImageCopy copyRegion = in iterate() local
242 …vk.cmdCopyBufferToImage(*m_cmdBuffer, *srcBuffer, *image, VK_IMAGE_LAYOUT_GENERAL, 1, &copyRegion); in iterate()
246 …vk.cmdCopyImageToBuffer(*m_cmdBuffer, *image, VK_IMAGE_LAYOUT_GENERAL, *dstBuffer, 1, &copyRegion); in iterate()
DvktImageDepthStencilDescriptorTests.cpp1124 const auto copyRegion = makeBufferImageCopy(extent, colorLayers); in iterate() local
1127 …colorBuffer.get(), VK_IMAGE_LAYOUT_TRANSFER_SRC_OPTIMAL, colorVerifBuffer->get(), 1u, &copyRegion); in iterate()
1139 const auto copyRegion = makeBufferImageCopy(extent, depthLayers); in iterate() local
1140 …er, dsImage.get(), VK_IMAGE_LAYOUT_TRANSFER_SRC_OPTIMAL, depthVerifBuffer->get(), 1u, &copyRegion); in iterate()
1146 const auto copyRegion = makeBufferImageCopy(extent, stencilLayers); in iterate() local
1147 …, dsImage.get(), VK_IMAGE_LAYOUT_TRANSFER_SRC_OPTIMAL, stencilVerifBuffer->get(), 1u, &copyRegion); in iterate()
1162 const auto copyRegion = makeBufferImageCopy(extent, colorLayers); in iterate() local
1166 …s[i]->get(), VK_IMAGE_LAYOUT_TRANSFER_SRC_OPTIMAL, storageVerifBuffers[i]->get(), 1u, &copyRegion); in iterate()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/image/
DvktImageAstcDecodeModeTests.cpp282 const VkBufferImageCopy copyRegion = in iterate() local
292 …e(*cmdBuffer, inBuffer.get(), image->get(), VK_IMAGE_LAYOUT_TRANSFER_DST_OPTIMAL, 1u, &copyRegion); in iterate()
336 const VkBufferImageCopy copyRegion = in iterate() local
345 …fer, resultImage.get(), VK_IMAGE_LAYOUT_TRANSFER_SRC_OPTIMAL, resultBuffer.get(), 1u, &copyRegion); in iterate()
DvktImageTransfer.cpp207 const vk::VkBufferImageCopy copyRegion = in iterate() local
242 …vk.cmdCopyBufferToImage(*m_cmdBuffer, *srcBuffer, *image, VK_IMAGE_LAYOUT_GENERAL, 1, &copyRegion); in iterate()
246 …vk.cmdCopyImageToBuffer(*m_cmdBuffer, *image, VK_IMAGE_LAYOUT_GENERAL, *dstBuffer, 1, &copyRegion); in iterate()
DvktImageDepthStencilDescriptorTests.cpp1124 const auto copyRegion = makeBufferImageCopy(extent, colorLayers); in iterate() local
1127 …colorBuffer.get(), VK_IMAGE_LAYOUT_TRANSFER_SRC_OPTIMAL, colorVerifBuffer->get(), 1u, &copyRegion); in iterate()
1139 const auto copyRegion = makeBufferImageCopy(extent, depthLayers); in iterate() local
1140 …er, dsImage.get(), VK_IMAGE_LAYOUT_TRANSFER_SRC_OPTIMAL, depthVerifBuffer->get(), 1u, &copyRegion); in iterate()
1146 const auto copyRegion = makeBufferImageCopy(extent, stencilLayers); in iterate() local
1147 …, dsImage.get(), VK_IMAGE_LAYOUT_TRANSFER_SRC_OPTIMAL, stencilVerifBuffer->get(), 1u, &copyRegion); in iterate()
1162 const auto copyRegion = makeBufferImageCopy(extent, colorLayers); in iterate() local
1166 …s[i]->get(), VK_IMAGE_LAYOUT_TRANSFER_SRC_OPTIMAL, storageVerifBuffers[i]->get(), 1u, &copyRegion); in iterate()
/third_party/skia/src/gpu/vk/
DGrVkGpu.cpp1145 VkBufferCopy copyRegion; in copyBuffer() local
1146 copyRegion.srcOffset = srcOffset; in copyBuffer()
1147 copyRegion.dstOffset = dstOffset; in copyBuffer()
1148 copyRegion.size = size; in copyBuffer()
1150 &copyRegion); in copyBuffer()
2183 VkImageCopy copyRegion; in copySurfaceAsCopyImage() local
2184 memset(&copyRegion, 0, sizeof(VkImageCopy)); in copySurfaceAsCopyImage()
2185 copyRegion.srcSubresource = { VK_IMAGE_ASPECT_COLOR_BIT, 0, 0, 1 }; in copySurfaceAsCopyImage()
2186 copyRegion.srcOffset = { srcRect.fLeft, srcRect.fTop, 0 }; in copySurfaceAsCopyImage()
2187 copyRegion.dstSubresource = { VK_IMAGE_ASPECT_COLOR_BIT, 0, 0, 1 }; in copySurfaceAsCopyImage()
[all …]
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/fragment_shader_interlock/
DvktFragmentShaderInterlockBasic.cpp745 const VkBufferImageCopy copyRegion = makeBufferImageCopy(makeExtent3D(copyDimX, copyDimY, 1u), in iterate() local
747 ….cmdCopyImageToBuffer(*cmdBuffer, **image, VK_IMAGE_LAYOUT_GENERAL, **copyBuffer, 1u, &copyRegion); in iterate()
751 const VkBufferCopy copyRegion = makeBufferCopy(0u, 0u, copyDimX*copyDimY*sizeof(deUint32)); in iterate() local
752 vk.cmdCopyBuffer(*cmdBuffer, **buffer, **copyBuffer, 1, &copyRegion); in iterate()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/fragment_shader_interlock/
DvktFragmentShaderInterlockBasic.cpp745 const VkBufferImageCopy copyRegion = makeBufferImageCopy(makeExtent3D(copyDimX, copyDimY, 1u), in iterate() local
747 ….cmdCopyImageToBuffer(*cmdBuffer, **image, VK_IMAGE_LAYOUT_GENERAL, **copyBuffer, 1u, &copyRegion); in iterate()
751 const VkBufferCopy copyRegion = makeBufferCopy(0u, 0u, copyDimX*copyDimY*sizeof(deUint32)); in iterate() local
752 vk.cmdCopyBuffer(*cmdBuffer, **buffer, **copyBuffer, 1, &copyRegion); in iterate()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/descriptor_indexing/
DvktDescriptorSetsIndexingTestsUtils.cpp279 const VkBufferImageCopy copyRegion = in recordCopyBufferToImage() local
294 copyRegions.push_back(copyRegion); in recordCopyBufferToImage()
385 const VkBufferImageCopy copyRegion = in recordCopyImageToBuffer() local
445 …mageToBuffer(cmd, image, VK_IMAGE_LAYOUT_TRANSFER_SRC_OPTIMAL, bufferInfo.buffer, 1u, &copyRegion); in recordCopyImageToBuffer()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/descriptor_indexing/
DvktDescriptorSetsIndexingTestsUtils.cpp279 const VkBufferImageCopy copyRegion = in recordCopyBufferToImage() local
294 copyRegions.push_back(copyRegion); in recordCopyBufferToImage()
385 const VkBufferImageCopy copyRegion = in recordCopyImageToBuffer() local
445 …mageToBuffer(cmd, image, VK_IMAGE_LAYOUT_TRANSFER_SRC_OPTIMAL, bufferInfo.buffer, 1u, &copyRegion); in recordCopyImageToBuffer()
/third_party/flutter/skia/src/gpu/vk/
DGrVkGpu.cpp1109 VkBufferCopy copyRegion; in copyBuffer() local
1110 copyRegion.srcOffset = srcOffset; in copyBuffer()
1111 copyRegion.dstOffset = dstOffset; in copyBuffer()
1112 copyRegion.size = size; in copyBuffer()
1113 fCurrentCmdBuffer->copyBuffer(this, srcBuffer, dstBuffer, 1, &copyRegion); in copyBuffer()
2113 VkImageCopy copyRegion; in copySurfaceAsCopyImage() local
2114 memset(&copyRegion, 0, sizeof(VkImageCopy)); in copySurfaceAsCopyImage()
2115 copyRegion.srcSubresource = { VK_IMAGE_ASPECT_COLOR_BIT, 0, 0, 1 }; in copySurfaceAsCopyImage()
2116 copyRegion.srcOffset = { srcRect.fLeft, srcRect.fTop, 0 }; in copySurfaceAsCopyImage()
2117 copyRegion.dstSubresource = { VK_IMAGE_ASPECT_COLOR_BIT, 0, 0, 1 }; in copySurfaceAsCopyImage()
[all …]
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/protected_memory/
DvktProtectedMemCopyBufferToImageTests.cpp255 const vk::VkBufferImageCopy copyRegion = in iterate() local
264 …etCmdBuffer, **srcBuffer, **colorImage, vk::VK_IMAGE_LAYOUT_TRANSFER_DST_OPTIMAL, 1u, &copyRegion); in iterate()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/protected_memory/
DvktProtectedMemCopyBufferToImageTests.cpp255 const vk::VkBufferImageCopy copyRegion = in iterate() local
264 …etCmdBuffer, **srcBuffer, **colorImage, vk::VK_IMAGE_LAYOUT_TRANSFER_DST_OPTIMAL, 1u, &copyRegion); in iterate()

12345