Home
last modified time | relevance | path

Searched refs:copyRegions (Results 1 - 25 of 30) sorted by relevance

12

/third_party/skia/src/gpu/vk/
H A DGrVkCommandBuffer.h253 const VkImageCopy* copyRegions);
278 const VkBufferImageCopy* copyRegions);
288 const VkBufferImageCopy* copyRegions);
H A DGrVkCommandBuffer.cpp741 const VkImageCopy* copyRegions) {
753 copyRegions));
805 const VkBufferImageCopy* copyRegions) {
815 copyRegions));
825 const VkBufferImageCopy* copyRegions) {
835 copyRegions));
/third_party/skia/third_party/externals/dawn/src/dawn_native/d3d12/
H A DUtilsD3D12.cpp235 const TextureCopySubresource copyRegions = Compute3DTextureCopySplits( in CopyBufferTo3DTexture() local
238 RecordCopyBufferToTextureFromTextureCopySplit(commandContext->GetCommandList(), copyRegions, in CopyBufferTo3DTexture()
352 const TextureCopySubresource copyRegions = in Copy3DTextureToBuffer() local
356 RecordCopyTextureToBufferFromTextureCopySplit(commandList, copyRegions, buffer, 0, in Copy3DTextureToBuffer()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/descriptor_indexing/
H A DvktDescriptorSetsIndexingTestsUtils.cpp269 std::vector<VkBufferImageCopy> copyRegions; in recordCopyBufferToImage() local
294 copyRegions.push_back(copyRegion); in recordCopyBufferToImage()
360 interface.cmdCopyBufferToImage(cmd, bufferInfo.buffer, image, VK_IMAGE_LAYOUT_TRANSFER_DST_OPTIMAL, static_cast<deUint32>(copyRegions.size()), copyRegions.data()); in recordCopyBufferToImage()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/descriptor_indexing/
H A DvktDescriptorSetsIndexingTestsUtils.cpp269 std::vector<VkBufferImageCopy> copyRegions; in recordCopyBufferToImage() local
294 copyRegions.push_back(copyRegion); in recordCopyBufferToImage()
360 interface.cmdCopyBufferToImage(cmd, bufferInfo.buffer, image, VK_IMAGE_LAYOUT_TRANSFER_DST_OPTIMAL, static_cast<deUint32>(copyRegions.size()), copyRegions.data()); in recordCopyBufferToImage()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/image/
H A DvktImageSubresourceLayoutTests.cpp457 std::vector<VkBufferImageCopy> copyRegions; in iterateAspect() local
458 copyRegions.reserve(numLevels); in iterateAspect()
479 copyRegions.push_back(region); in iterateAspect()
495 vkd.cmdCopyBufferToImage(cmdBuffer, buffer.get(), image.get(), VK_IMAGE_LAYOUT_TRANSFER_DST_OPTIMAL, static_cast<deUint32>(copyRegions.size()), copyRegions.data()); in iterateAspect()
H A DvktImageLoadStoreTests.cpp443 std::vector<VkBufferImageCopy> copyRegions; in commandCopyMipmapImageToBuffer() local
456 copyRegions.push_back(copyParams); in commandCopyMipmapImageToBuffer()
465 vk.cmdCopyImageToBuffer(cmdBuffer, image, VK_IMAGE_LAYOUT_TRANSFER_SRC_OPTIMAL, buffer, (deUint32) copyRegions.size(), copyRegions.data()); in commandCopyMipmapImageToBuffer()
1973 std::vector<VkBufferImageCopy> copyRegions; in commandBeforeCompute() local
1986 copyRegions.push_back(copyParams); in commandBeforeCompute()
1990 vk.cmdCopyBufferToImage(cmdBuffer, m_imageBuffer->get(), m_imageSrc->get(), VK_IMAGE_LAYOUT_TRANSFER_DST_OPTIMAL, (deUint32) copyRegions.size(), copyRegions.data()); in commandBeforeCompute()
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/
H A DBufferVk.cpp1058 angle::FixedVector<VkBufferCopy, kMaxCopyRegions> copyRegions; in acquireAndUpdate() local
1069 copyRegions.push_back({0, mBufferOffset, offset}); in acquireAndUpdate()
1083 copyRegions.push_back( in acquireAndUpdate()
1088 if (!copyRegions.empty()) in acquireAndUpdate()
1090 ANGLE_TRY(mBuffer->copyFromBuffer(contextVk, src, static_cast<uint32_t>(copyRegions.size()), in acquireAndUpdate()
1091 copyRegions.data())); in acquireAndUpdate()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/image/
H A DvktImageSubresourceLayoutTests.cpp462 std::vector<VkBufferImageCopy> copyRegions; in iterateAspect() local
463 copyRegions.reserve(numLevels); in iterateAspect()
484 copyRegions.push_back(region); in iterateAspect()
500 vkd.cmdCopyBufferToImage(cmdBuffer, buffer.get(), image.get(), VK_IMAGE_LAYOUT_TRANSFER_DST_OPTIMAL, static_cast<deUint32>(copyRegions.size()), copyRegions.data()); in iterateAspect()
H A DvktImageLoadStoreTests.cpp444 std::vector<VkBufferImageCopy> copyRegions; in commandCopyMipmapImageToBuffer() local
457 copyRegions.push_back(copyParams); in commandCopyMipmapImageToBuffer()
466 vk.cmdCopyImageToBuffer(cmdBuffer, image, VK_IMAGE_LAYOUT_TRANSFER_SRC_OPTIMAL, buffer, (deUint32) copyRegions.size(), copyRegions.data()); in commandCopyMipmapImageToBuffer()
2002 std::vector<VkBufferImageCopy> copyRegions; in commandBeforeCompute() local
2015 copyRegions.push_back(copyParams); in commandBeforeCompute()
2019 vk.cmdCopyBufferToImage(cmdBuffer, m_imageBuffer->get(), m_imageSrc->get(), VK_IMAGE_LAYOUT_TRANSFER_DST_OPTIMAL, (deUint32) copyRegions.size(), copyRegions.data()); in commandBeforeCompute()
/third_party/vk-gl-cts/external/vulkancts/framework/vulkan/
H A DvkImageUtil.hpp255 const std::vector<vk::VkBufferImageCopy>& copyRegions,
271 const std::vector<VkBufferImageCopy>& copyRegions,
H A DvkImageUtil.cpp4370 const std::vector<VkBufferImageCopy>& copyRegions,
4436 vk.cmdCopyBufferToImage(cmdBuffer, buffer, destImage, VK_IMAGE_LAYOUT_TRANSFER_DST_OPTIMAL, (deUint32)copyRegions.size(), copyRegions.data());
4446 const std::vector<VkBufferImageCopy>& copyRegions,
4484 copyBufferToImage(vk, *cmdBuffer, buffer, bufferSize, copyRegions, imageAspectFlags, mipLevels, arrayLayers, destImage, destImageLayout, destImageDstStageFlags, destImageDstAccessMask, baseMipLevel);
4758 std::vector<VkBufferImageCopy> copyRegions;
4800 copyRegions.push_back(copy);
4803 return copyRegions;
4908 std::vector<VkBufferImageCopy> copyRegions = generateChessboardCopyRegions(tileSize, imageWidth, imageHeight, bufferIdx, VK_IMAGE_ASPECT_COLOR_BIT);
4910 vk.cmdCopyBufferToImage(*cmdBuffer, *buffers[bufferIdx], image, VK_IMAGE_LAYOUT_TRANSFER_DST_OPTIMAL, (deUint32)copyRegions
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/api/
H A DvktApiImageClearingTests.cpp1243 std::vector<VkBufferImageCopy> copyRegions; in readImage() local
1258 copyRegions.push_back(region); in readImage()
1273 m_vkd.cmdCopyImageToBuffer(*m_commandBuffer, *m_image, VK_IMAGE_LAYOUT_TRANSFER_SRC_OPTIMAL, *buffer, static_cast<deUint32>(copyRegions.size()), &copyRegions[0]); in readImage()
1504 std::vector<VkBufferImageCopy> copyRegions; in preClearImage() local
1535 copyRegions.push_back(region); in preClearImage()
1569 m_vkd.cmdCopyBufferToImage(*commandBuffer, *m_stagingBuffer, *m_image, VK_IMAGE_LAYOUT_TRANSFER_DST_OPTIMAL, static_cast<deUint32>(copyRegions.size()), &copyRegions[0]); in preClearImage()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/api/
H A DvktApiImageClearingTests.cpp1111 std::vector<VkBufferImageCopy> copyRegions; in readImage() local
1126 copyRegions.push_back(region); in readImage()
1141 m_vkd.cmdCopyImageToBuffer(*m_commandBuffer, *m_image, VK_IMAGE_LAYOUT_TRANSFER_SRC_OPTIMAL, *buffer, static_cast<deUint32>(copyRegions.size()), &copyRegions[0]); in readImage()
1372 std::vector<VkBufferImageCopy> copyRegions; in preClearImage() local
1403 copyRegions.push_back(region); in preClearImage()
1437 m_vkd.cmdCopyBufferToImage(*commandBuffer, *m_stagingBuffer, *m_image, VK_IMAGE_LAYOUT_TRANSFER_DST_OPTIMAL, static_cast<deUint32>(copyRegions.size()), &copyRegions[0]); in preClearImage()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/spirv_assembly/
H A DvktSpvAsmComputeShaderCase.cpp556 vector<VkBufferImageCopy> copyRegions; in iterate() local
557 copyRegions.push_back(copyRegion); in iterate()
559 copyBufferToImage(vkdi, device, queue, queueFamilyIndex, buffer->get(), (deUint32)numBytes, copyRegions, DE_NULL, VK_IMAGE_ASPECT_COLOR_BIT, 1u, 1u, image->get(), imageLayout); in iterate()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/spirv_assembly/
H A DvktSpvAsmComputeShaderCase.cpp556 vector<VkBufferImageCopy> copyRegions; in iterate() local
557 copyRegions.push_back(copyRegion); in iterate()
559 copyBufferToImage(vkdi, device, queue, queueFamilyIndex, buffer->get(), (deUint32)numBytes, copyRegions, DE_NULL, VK_IMAGE_ASPECT_COLOR_BIT, 1u, 1u, image->get(), imageLayout); in iterate()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/pipeline/
H A DvktPipelineImageUtil.cpp444 std::vector<VkBufferImageCopy> copyRegions = srcTexture.getBufferCopyRegions(); in uploadTestTextureInternal() local
491 copyRegions.push_back(region); in uploadTestTextureInternal()
498 copyBufferToImage(vk, device, queue, queueFamilyIndex, *buffer, bufferSize, copyRegions, DE_NULL, imageAspectFlags, srcTexture.getNumLevels(), srcTexture.getArraySize(), destImage, destImageLayout); in uploadTestTextureInternal()
540 std::vector<VkBufferImageCopy> copyRegions = srcTexture.getBufferCopyRegions(); in uploadTestTextureInternalSparse() local
598 copyRegions.push_back(region); in uploadTestTextureInternalSparse()
605 copyBufferToImage(vk, device, universalQueue, universalQueueFamilyIndex, *buffer, bufferSize, copyRegions, &(*imageMemoryBindSemaphore), imageAspectFlags, imageCreateInfo.mipLevels, imageCreateInfo.arrayLayers, destImage); in uploadTestTextureInternalSparse()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/pipeline/
H A DvktPipelineImageUtil.cpp434 std::vector<VkBufferImageCopy> copyRegions = srcTexture.getBufferCopyRegions(); in uploadTestTextureInternal() local
481 copyRegions.push_back(region); in uploadTestTextureInternal()
488 copyBufferToImage(vk, device, queue, queueFamilyIndex, *buffer, bufferSize, copyRegions, DE_NULL, imageAspectFlags, srcTexture.getNumLevels(), srcTexture.getArraySize(), destImage, destImageLayout); in uploadTestTextureInternal()
530 std::vector<VkBufferImageCopy> copyRegions = srcTexture.getBufferCopyRegions(); in uploadTestTextureInternalSparse() local
588 copyRegions.push_back(region); in uploadTestTextureInternalSparse()
595 copyBufferToImage(vk, device, universalQueue, universalQueueFamilyIndex, *buffer, bufferSize, copyRegions, &(*imageMemoryBindSemaphore), imageAspectFlags, imageCreateInfo.mipLevels, imageCreateInfo.arrayLayers, destImage); in uploadTestTextureInternalSparse()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/shaderrender/
H A DvktShaderRender.cpp997 std::vector<VkBufferImageCopy> copyRegions;
1069 copyRegions.push_back(layerRegion);
1080 copyBufferToImage(vk, vkDevice, queue, queueFamilyIndex, *buffer, bufferSize, copyRegions, DE_NULL, aspectMask, mipLevels, arrayLayers, destImage, VK_IMAGE_LAYOUT_SHADER_READ_ONLY_OPTIMAL, VK_PIPELINE_STAGE_FRAGMENT_SHADER_BIT, VK_ACCESS_SHADER_READ_BIT, &(m_externalCommandPool.get()->get()));
1082 copyBufferToImage(vk, vkDevice, queue, queueFamilyIndex, *buffer, bufferSize, copyRegions, DE_NULL, aspectMask, mipLevels, arrayLayers, destImage);
1284 std::vector<VkBufferImageCopy> copyRegions;
1362 copyRegions.push_back(layerRegion);
1369 copyBufferToImage(vk, vkDevice, queue, queueFamilyIndex, *buffer, bufferSize, copyRegions, &(*imageMemoryBindSemaphore), aspectMask, mipLevels, arrayLayers, sparseImage);
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/shaderrender/
H A DvktShaderRender.cpp999 std::vector<VkBufferImageCopy> copyRegions;
1071 copyRegions.push_back(layerRegion);
1082 copyBufferToImage(vk, vkDevice, queue, queueFamilyIndex, *buffer, bufferSize, copyRegions, DE_NULL, aspectMask, mipLevels, arrayLayers, destImage, VK_IMAGE_LAYOUT_SHADER_READ_ONLY_OPTIMAL, VK_PIPELINE_STAGE_FRAGMENT_SHADER_BIT, &(m_externalCommandPool.get()->get()));
1084 copyBufferToImage(vk, vkDevice, queue, queueFamilyIndex, *buffer, bufferSize, copyRegions, DE_NULL, aspectMask, mipLevels, arrayLayers, destImage);
1286 std::vector<VkBufferImageCopy> copyRegions;
1364 copyRegions.push_back(layerRegion);
1371 copyBufferToImage(vk, vkDevice, queue, queueFamilyIndex, *buffer, bufferSize, copyRegions, &(*imageMemoryBindSemaphore), aspectMask, mipLevels, arrayLayers, sparseImage);
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/texture/
H A DvktTextureFilteringExplicitLodTests.cpp323 std::vector<VkBufferImageCopy> copyRegions; in initializeImage() local
357 copyRegions.push_back(curRegion); in initializeImage()
364 copyBufferToImage(vkd, dev, ctx.getUniversalQueue(), ctx.getUniversalQueueFamilyIndex(), buf.get(), bufSize, copyRegions, DE_NULL, VK_IMAGE_ASPECT_COLOR_BIT, imParams.levels, imParams.arrayLayers, im); in initializeImage()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/texture/
H A DvktTextureFilteringExplicitLodTests.cpp323 std::vector<VkBufferImageCopy> copyRegions; in initializeImage() local
357 copyRegions.push_back(curRegion); in initializeImage()
364 copyBufferToImage(vkd, dev, ctx.getUniversalQueue(), ctx.getUniversalQueueFamilyIndex(), buf.get(), bufSize, copyRegions, DE_NULL, VK_IMAGE_ASPECT_COLOR_BIT, imParams.levels, imParams.arrayLayers, im); in initializeImage()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/geometry/
H A DvktGeometryBasicGeometryShaderTests.cpp148 vector<VkBufferImageCopy> copyRegions (1, copyRegion); in uploadImage()
157 copyBufferToImage(vk, device, queue, queueFamilyIndex, *buffer, bufferSize, copyRegions, DE_NULL, aspectMask, 1, 1, destImage, VK_IMAGE_LAYOUT_SHADER_READ_ONLY_OPTIMAL, VK_PIPELINE_STAGE_FRAGMENT_SHADER_BIT); in uploadImage()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/geometry/
H A DvktGeometryBasicGeometryShaderTests.cpp148 vector<VkBufferImageCopy> copyRegions (1, copyRegion); in uploadImage()
157 copyBufferToImage(vk, device, queue, queueFamilyIndex, *buffer, bufferSize, copyRegions, DE_NULL, aspectMask, 1, 1, destImage, VK_IMAGE_LAYOUT_SHADER_READ_ONLY_OPTIMAL, VK_PIPELINE_STAGE_FRAGMENT_SHADER_BIT); in uploadImage()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/sparse_resources/
H A DvktSparseResourcesBufferTests.cpp1213 const VkBufferCopy copyRegions[] = in iterate() local
1231 vk.cmdCopyBuffer (*cmdBuffer, *m_stagingBuffer, *m_sparseBuffer, DE_LENGTH_OF_ARRAY(copyRegions), copyRegions); in iterate()

Completed in 71 milliseconds

12