/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/mesh_shader/ |
D | vktMeshShaderSyncTests.cpp | 960 const auto copyRegion = makeBufferCopy(0ull, 0ull, bufferSize); in iterate() local 961 vkd.cmdCopyBuffer(cmdBuffer, hostCoherentBuffer->get(), bufferResource->get(), 1u, ©Region); in iterate() 973 const auto copyRegion = makeBufferImageCopy(imageExtent, colorSRL); in iterate() local 974 …oImage(cmdBuffer, hostCoherentBuffer->get(), imageResource->get(), currentLayout, 1u, ©Region); in iterate() 1123 const auto copyRegion = makeBufferCopy(0ull, 0ull, bufferSize); in iterate() local 1124 vkd.cmdCopyBuffer(cmdBuffer, bufferResource->get(), hostCoherentBuffer->get(), 1u, ©Region); in iterate() 1128 const auto copyRegion = makeBufferImageCopy(imageExtent, colorSRL); in iterate() local 1129 …Buffer(cmdBuffer, imageResource->get(), currentLayout, hostCoherentBuffer->get(), 1u, ©Region); in iterate() 1150 const auto copyRegion = makeBufferImageCopy(imageExtent, colorSRL); in iterate() local 1151 …ffer.get(), VK_IMAGE_LAYOUT_TRANSFER_SRC_OPTIMAL, colorVerificationBuffer->get(), 1u, ©Region); in iterate()
|
D | vktMeshShaderSyncTestsEXT.cpp | 1163 const auto copyRegion = makeBufferCopy(0ull, 0ull, bufferSize); in iterate() local 1164 vkd.cmdCopyBuffer(cmdBuffer, hostCoherentBuffer->get(), bufferResource->get(), 1u, ©Region); in iterate() 1176 const auto copyRegion = makeBufferImageCopy(imageExtent, colorSRL); in iterate() local 1177 …oImage(cmdBuffer, hostCoherentBuffer->get(), imageResource->get(), currentLayout, 1u, ©Region); in iterate() 1346 const auto copyRegion = makeBufferCopy(0ull, 0ull, bufferSize); in iterate() local 1347 vkd.cmdCopyBuffer(cmdBuffer, bufferResource->get(), hostCoherentBuffer->get(), 1u, ©Region); in iterate() 1351 const auto copyRegion = makeBufferImageCopy(imageExtent, colorSRL); in iterate() local 1352 …Buffer(cmdBuffer, imageResource->get(), currentLayout, hostCoherentBuffer->get(), 1u, ©Region); in iterate() 1373 const auto copyRegion = makeBufferImageCopy(imageExtent, colorSRL); in iterate() local 1374 …ffer.get(), VK_IMAGE_LAYOUT_TRANSFER_SRC_OPTIMAL, colorVerificationBuffer->get(), 1u, ©Region); in iterate()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/mesh_shader/ |
D | vktMeshShaderSyncTests.cpp | 960 const auto copyRegion = makeBufferCopy(0ull, 0ull, bufferSize); in iterate() local 961 vkd.cmdCopyBuffer(cmdBuffer, hostCoherentBuffer->get(), bufferResource->get(), 1u, ©Region); in iterate() 973 const auto copyRegion = makeBufferImageCopy(imageExtent, colorSRL); in iterate() local 974 …oImage(cmdBuffer, hostCoherentBuffer->get(), imageResource->get(), currentLayout, 1u, ©Region); in iterate() 1123 const auto copyRegion = makeBufferCopy(0ull, 0ull, bufferSize); in iterate() local 1124 vkd.cmdCopyBuffer(cmdBuffer, bufferResource->get(), hostCoherentBuffer->get(), 1u, ©Region); in iterate() 1128 const auto copyRegion = makeBufferImageCopy(imageExtent, colorSRL); in iterate() local 1129 …Buffer(cmdBuffer, imageResource->get(), currentLayout, hostCoherentBuffer->get(), 1u, ©Region); in iterate() 1150 const auto copyRegion = makeBufferImageCopy(imageExtent, colorSRL); in iterate() local 1151 …ffer.get(), VK_IMAGE_LAYOUT_TRANSFER_SRC_OPTIMAL, colorVerificationBuffer->get(), 1u, ©Region); in iterate()
|
D | vktMeshShaderSyncTestsEXT.cpp | 1163 const auto copyRegion = makeBufferCopy(0ull, 0ull, bufferSize); in iterate() local 1164 vkd.cmdCopyBuffer(cmdBuffer, hostCoherentBuffer->get(), bufferResource->get(), 1u, ©Region); in iterate() 1176 const auto copyRegion = makeBufferImageCopy(imageExtent, colorSRL); in iterate() local 1177 …oImage(cmdBuffer, hostCoherentBuffer->get(), imageResource->get(), currentLayout, 1u, ©Region); in iterate() 1346 const auto copyRegion = makeBufferCopy(0ull, 0ull, bufferSize); in iterate() local 1347 vkd.cmdCopyBuffer(cmdBuffer, bufferResource->get(), hostCoherentBuffer->get(), 1u, ©Region); in iterate() 1351 const auto copyRegion = makeBufferImageCopy(imageExtent, colorSRL); in iterate() local 1352 …Buffer(cmdBuffer, imageResource->get(), currentLayout, hostCoherentBuffer->get(), 1u, ©Region); in iterate() 1373 const auto copyRegion = makeBufferImageCopy(imageExtent, colorSRL); in iterate() local 1374 …ffer.get(), VK_IMAGE_LAYOUT_TRANSFER_SRC_OPTIMAL, colorVerificationBuffer->get(), 1u, ©Region); in iterate()
|
D | vktMeshShaderProvokingVertexTestsEXT.cpp | 391 const auto copyRegion = makeBufferImageCopy(colorExtent, colorSRL); in iterate() local 392 …olorBuffer.get(), VK_IMAGE_LAYOUT_TRANSFER_SRC_OPTIMAL, verificationBuffer.get(), 1u, ©Region); in iterate()
|
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/ |
D | BufferVk.cpp | 178 VkBufferCopy copyRegion = {static_cast<VkDeviceSize>(sourceOffset), in copySubData() local 183 ©Region); in copySubData() 315 VkBufferCopy copyRegion = {0, offset, size}; in setDataImpl() local 317 VK_ACCESS_HOST_WRITE_BIT, copyRegion)); in setDataImpl()
|
D | vk_helpers.h | 509 const VkBufferCopy ©Region); 882 SubresourceUpdate(VkBuffer bufferHandle, const VkBufferImageCopy ©Region); 883 SubresourceUpdate(vk::ImageHelper *image, const VkImageCopy ©Region); 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/ |
D | vktApiCopiesAndBlittingTests.cpp | 767 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, ©Region); in readImageAspect() 4564 VkBufferImageCopy copyRegion in uploadCompressedImage() local 4587 …BufferToImage(*m_cmdBuffer, *buffer, image, VK_IMAGE_LAYOUT_TRANSFER_DST_OPTIMAL, 1u, ©Region); 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/ |
D | vktApiCopiesAndBlittingTests.cpp | 767 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, ©Region); in readImageAspect() 4564 VkBufferImageCopy copyRegion in uploadCompressedImage() local 4587 …BufferToImage(*m_cmdBuffer, *buffer, image, VK_IMAGE_LAYOUT_TRANSFER_DST_OPTIMAL, 1u, ©Region); 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/ |
D | BufferVk.cpp | 545 const VkBufferCopy copyRegion = {static_cast<VkDeviceSize>(sourceOffset) + sourceBufferOffset, in copySubData() local 549 commandBuffer->copyBuffer(sourceBuffer.getBuffer(), mBuffer->getBuffer(), 1, ©Region); in copySubData() 578 VkBufferCopy copyRegion = {mBufferOffset + offset, mHostVisibleBufferOffset, size}; in handleDeviceLocalBufferMap() local 579 ANGLE_TRY(hostVisibleBuffer->copyFromBuffer(contextVk, mBuffer, 1, ©Region)); in handleDeviceLocalBufferMap() 595 VkBufferCopy copyRegion = {mHostVisibleBufferOffset, mBufferOffset + offset, size}; in handleDeviceLocalBufferUnmap() local 596 ANGLE_TRY(mBuffer->copyFromBuffer(contextVk, hostVisibleBuffer, 1, ©Region)); in handleDeviceLocalBufferUnmap() 1002 VkBufferCopy copyRegion = {stagingBufferOffset, mBufferOffset + offset, size}; in flushMappedStagingBuffer() local 1004 mBuffer->copyFromBuffer(contextVk, stagingBuffer->getCurrentBuffer(), 1, ©Region)); in flushMappedStagingBuffer()
|
D | vk_helpers.cpp | 3773 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, ©Region); in initializeNonZeroMemory() 4452 VkBufferImageCopy copyRegion = {}; in initializeNonZeroMemory() local 4454 gl_vk::GetExtent(getLevelExtents(level), ©Region.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/ |
D | vktImageAstcDecodeModeTests.cpp | 282 const VkBufferImageCopy copyRegion = in iterate() local 292 …e(*cmdBuffer, inBuffer.get(), image->get(), VK_IMAGE_LAYOUT_TRANSFER_DST_OPTIMAL, 1u, ©Region); in iterate() 336 const VkBufferImageCopy copyRegion = in iterate() local 345 …fer, resultImage.get(), VK_IMAGE_LAYOUT_TRANSFER_SRC_OPTIMAL, resultBuffer.get(), 1u, ©Region); in iterate()
|
D | vktImageTransfer.cpp | 207 const vk::VkBufferImageCopy copyRegion = in iterate() local 242 …vk.cmdCopyBufferToImage(*m_cmdBuffer, *srcBuffer, *image, VK_IMAGE_LAYOUT_GENERAL, 1, ©Region); in iterate() 246 …vk.cmdCopyImageToBuffer(*m_cmdBuffer, *image, VK_IMAGE_LAYOUT_GENERAL, *dstBuffer, 1, ©Region); in iterate()
|
D | vktImageDepthStencilDescriptorTests.cpp | 1124 const auto copyRegion = makeBufferImageCopy(extent, colorLayers); in iterate() local 1127 …colorBuffer.get(), VK_IMAGE_LAYOUT_TRANSFER_SRC_OPTIMAL, colorVerifBuffer->get(), 1u, ©Region); 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, ©Region); in iterate() 1146 const auto copyRegion = makeBufferImageCopy(extent, stencilLayers); in iterate() local 1147 …, dsImage.get(), VK_IMAGE_LAYOUT_TRANSFER_SRC_OPTIMAL, stencilVerifBuffer->get(), 1u, ©Region); 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, ©Region); in iterate()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/image/ |
D | vktImageAstcDecodeModeTests.cpp | 282 const VkBufferImageCopy copyRegion = in iterate() local 292 …e(*cmdBuffer, inBuffer.get(), image->get(), VK_IMAGE_LAYOUT_TRANSFER_DST_OPTIMAL, 1u, ©Region); in iterate() 336 const VkBufferImageCopy copyRegion = in iterate() local 345 …fer, resultImage.get(), VK_IMAGE_LAYOUT_TRANSFER_SRC_OPTIMAL, resultBuffer.get(), 1u, ©Region); in iterate()
|
D | vktImageTransfer.cpp | 207 const vk::VkBufferImageCopy copyRegion = in iterate() local 242 …vk.cmdCopyBufferToImage(*m_cmdBuffer, *srcBuffer, *image, VK_IMAGE_LAYOUT_GENERAL, 1, ©Region); in iterate() 246 …vk.cmdCopyImageToBuffer(*m_cmdBuffer, *image, VK_IMAGE_LAYOUT_GENERAL, *dstBuffer, 1, ©Region); in iterate()
|
D | vktImageDepthStencilDescriptorTests.cpp | 1124 const auto copyRegion = makeBufferImageCopy(extent, colorLayers); in iterate() local 1127 …colorBuffer.get(), VK_IMAGE_LAYOUT_TRANSFER_SRC_OPTIMAL, colorVerifBuffer->get(), 1u, ©Region); 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, ©Region); in iterate() 1146 const auto copyRegion = makeBufferImageCopy(extent, stencilLayers); in iterate() local 1147 …, dsImage.get(), VK_IMAGE_LAYOUT_TRANSFER_SRC_OPTIMAL, stencilVerifBuffer->get(), 1u, ©Region); 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, ©Region); in iterate()
|
/third_party/skia/src/gpu/vk/ |
D | GrVkGpu.cpp | 1145 VkBufferCopy copyRegion; in copyBuffer() local 1146 copyRegion.srcOffset = srcOffset; in copyBuffer() 1147 copyRegion.dstOffset = dstOffset; in copyBuffer() 1148 copyRegion.size = size; in copyBuffer() 1150 ©Region); in copyBuffer() 2183 VkImageCopy copyRegion; in copySurfaceAsCopyImage() local 2184 memset(©Region, 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/ |
D | vktFragmentShaderInterlockBasic.cpp | 745 const VkBufferImageCopy copyRegion = makeBufferImageCopy(makeExtent3D(copyDimX, copyDimY, 1u), in iterate() local 747 ….cmdCopyImageToBuffer(*cmdBuffer, **image, VK_IMAGE_LAYOUT_GENERAL, **copyBuffer, 1u, ©Region); in iterate() 751 const VkBufferCopy copyRegion = makeBufferCopy(0u, 0u, copyDimX*copyDimY*sizeof(deUint32)); in iterate() local 752 vk.cmdCopyBuffer(*cmdBuffer, **buffer, **copyBuffer, 1, ©Region); in iterate()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/fragment_shader_interlock/ |
D | vktFragmentShaderInterlockBasic.cpp | 745 const VkBufferImageCopy copyRegion = makeBufferImageCopy(makeExtent3D(copyDimX, copyDimY, 1u), in iterate() local 747 ….cmdCopyImageToBuffer(*cmdBuffer, **image, VK_IMAGE_LAYOUT_GENERAL, **copyBuffer, 1u, ©Region); in iterate() 751 const VkBufferCopy copyRegion = makeBufferCopy(0u, 0u, copyDimX*copyDimY*sizeof(deUint32)); in iterate() local 752 vk.cmdCopyBuffer(*cmdBuffer, **buffer, **copyBuffer, 1, ©Region); in iterate()
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/descriptor_indexing/ |
D | vktDescriptorSetsIndexingTestsUtils.cpp | 279 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, ©Region); in recordCopyImageToBuffer()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/descriptor_indexing/ |
D | vktDescriptorSetsIndexingTestsUtils.cpp | 279 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, ©Region); in recordCopyImageToBuffer()
|
/third_party/flutter/skia/src/gpu/vk/ |
D | GrVkGpu.cpp | 1109 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, ©Region); in copyBuffer() 2113 VkImageCopy copyRegion; in copySurfaceAsCopyImage() local 2114 memset(©Region, 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/ |
D | vktProtectedMemCopyBufferToImageTests.cpp | 255 const vk::VkBufferImageCopy copyRegion = in iterate() local 264 …etCmdBuffer, **srcBuffer, **colorImage, vk::VK_IMAGE_LAYOUT_TRANSFER_DST_OPTIMAL, 1u, ©Region); in iterate()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/protected_memory/ |
D | vktProtectedMemCopyBufferToImageTests.cpp | 255 const vk::VkBufferImageCopy copyRegion = in iterate() local 264 …etCmdBuffer, **srcBuffer, **colorImage, vk::VK_IMAGE_LAYOUT_TRANSFER_DST_OPTIMAL, 1u, ©Region); in iterate()
|