Home
last modified time | relevance | path

Searched refs:copyRegion (Results 1 – 25 of 110) 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()
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/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/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/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/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/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()
DvktImageMismatchedWriteOpTests.cpp314 …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, &copyRegion); 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, &copyRegion); in download()
/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()
DvktImageMismatchedWriteOpTests.cpp314 …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, &copyRegion); 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, &copyRegion); in download()
/third_party/skia/src/gpu/vk/
DGrVkGpu.cpp1153 VkBufferCopy copyRegion; in copyBuffer() local
1154 copyRegion.srcOffset = srcOffset; in copyBuffer()
1155 copyRegion.dstOffset = dstOffset; in copyBuffer()
1156 copyRegion.size = size; in copyBuffer()
1158 &copyRegion); in copyBuffer()
2191 VkImageCopy copyRegion; in copySurfaceAsCopyImage() local
2192 memset(&copyRegion, 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/
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/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/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