/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()
|
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/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/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/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/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/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()
|
D | vktImageMismatchedWriteOpTests.cpp | 314 …const VkBufferImageCopy copyRegion = makeBufferImageCopy(makeExtent3D(tcu::IVec3(m_width, m_… in upload() local 330 …(cmdBuffer, m_buffer.getBuffer(), *m_image, VK_IMAGE_LAYOUT_TRANSFER_DST_OPTIMAL, 1u, ©Region); in upload() 352 …const VkBufferImageCopy copyRegion = makeBufferImageCopy(makeExtent3D(tcu::IVec3(m_width, m_… in download() local 368 …r(cmdBuffer, *m_image, VK_IMAGE_LAYOUT_TRANSFER_SRC_OPTIMAL, m_buffer.getBuffer(), 1, ©Region); in download()
|
/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()
|
D | vktImageMismatchedWriteOpTests.cpp | 314 …const VkBufferImageCopy copyRegion = makeBufferImageCopy(makeExtent3D(tcu::IVec3(m_width, m_… in upload() local 330 …(cmdBuffer, m_buffer.getBuffer(), *m_image, VK_IMAGE_LAYOUT_TRANSFER_DST_OPTIMAL, 1u, ©Region); in upload() 352 …const VkBufferImageCopy copyRegion = makeBufferImageCopy(makeExtent3D(tcu::IVec3(m_width, m_… in download() local 368 …r(cmdBuffer, *m_image, VK_IMAGE_LAYOUT_TRANSFER_SRC_OPTIMAL, m_buffer.getBuffer(), 1, ©Region); in download()
|
/third_party/skia/src/gpu/vk/ |
D | GrVkGpu.cpp | 1153 VkBufferCopy copyRegion; in copyBuffer() local 1154 copyRegion.srcOffset = srcOffset; in copyBuffer() 1155 copyRegion.dstOffset = dstOffset; in copyBuffer() 1156 copyRegion.size = size; in copyBuffer() 1158 ©Region); in copyBuffer() 2191 VkImageCopy copyRegion; in copySurfaceAsCopyImage() local 2192 memset(©Region, 0, sizeof(VkImageCopy)); in copySurfaceAsCopyImage() 2193 copyRegion.srcSubresource = { VK_IMAGE_ASPECT_COLOR_BIT, 0, 0, 1 }; in copySurfaceAsCopyImage() 2194 copyRegion.srcOffset = { srcRect.fLeft, srcRect.fTop, 0 }; in copySurfaceAsCopyImage() 2195 copyRegion.dstSubresource = { VK_IMAGE_ASPECT_COLOR_BIT, 0, 0, 1 }; in copySurfaceAsCopyImage() [all …]
|
/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/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/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()
|