Home
last modified time | relevance | path

Searched refs:pRegions (Results 1 – 25 of 58) sorted by relevance

123

/external/mesa3d/src/amd/vulkan/
Dradv_meta_copy.c260 const VkBufferImageCopy* pRegions) in radv_CmdCopyBufferToImage() argument
269 .bufferOffset = pRegions[r].bufferOffset, in radv_CmdCopyBufferToImage()
270 .bufferRowLength = pRegions[r].bufferRowLength, in radv_CmdCopyBufferToImage()
271 .bufferImageHeight = pRegions[r].bufferImageHeight, in radv_CmdCopyBufferToImage()
272 .imageSubresource = pRegions[r].imageSubresource, in radv_CmdCopyBufferToImage()
273 .imageOffset = pRegions[r].imageOffset, in radv_CmdCopyBufferToImage()
274 .imageExtent = pRegions[r].imageExtent, in radv_CmdCopyBufferToImage()
293 &pCopyBufferToImageInfo->pRegions[r]); in radv_CmdCopyBufferToImage2KHR()
417 const VkBufferImageCopy* pRegions) in radv_CmdCopyImageToBuffer() argument
426 .bufferOffset = pRegions[r].bufferOffset, in radv_CmdCopyImageToBuffer()
[all …]
Dradv_meta_resolve.c707 if (pResolveImageInfo->pRegions[0].srcOffset.x || in radv_CmdResolveImage2KHR()
708 pResolveImageInfo->pRegions[0].srcOffset.y || in radv_CmdResolveImage2KHR()
709 pResolveImageInfo->pRegions[0].srcOffset.z) in radv_CmdResolveImage2KHR()
711 if (pResolveImageInfo->pRegions[0].dstOffset.x || in radv_CmdResolveImage2KHR()
712 pResolveImageInfo->pRegions[0].dstOffset.y || in radv_CmdResolveImage2KHR()
713 pResolveImageInfo->pRegions[0].dstOffset.z) in radv_CmdResolveImage2KHR()
716 if (pResolveImageInfo->pRegions[0].extent.width != src_image->info.width || in radv_CmdResolveImage2KHR()
717 pResolveImageInfo->pRegions[0].extent.height != src_image->info.height || in radv_CmdResolveImage2KHR()
718 pResolveImageInfo->pRegions[0].extent.depth != src_image->info.depth) in radv_CmdResolveImage2KHR()
731 &pResolveImageInfo->pRegions[r], resolve_method); in radv_CmdResolveImage2KHR()
Dradv_meta_buffer.c481 const VkBufferCopy* pRegions) in radv_CmdCopyBuffer() argument
490 .srcOffset = pRegions[r].srcOffset, in radv_CmdCopyBuffer()
491 .dstOffset = pRegions[r].dstOffset, in radv_CmdCopyBuffer()
492 .size = pRegions[r].size, in radv_CmdCopyBuffer()
509 &pCopyBufferInfo->pRegions[r]); in radv_CmdCopyBuffer2KHR()
Dradv_meta_blit.c707 const VkImageBlit* pRegions, in radv_CmdBlitImage() argument
718 .srcSubresource = pRegions[r].srcSubresource, in radv_CmdBlitImage()
720 pRegions[r].srcOffsets[0], in radv_CmdBlitImage()
721 pRegions[r].srcOffsets[1], in radv_CmdBlitImage()
723 .dstSubresource = pRegions[r].dstSubresource, in radv_CmdBlitImage()
725 pRegions[r].dstOffsets[0], in radv_CmdBlitImage()
726 pRegions[r].dstOffsets[1], in radv_CmdBlitImage()
749 &pBlitImageInfo->pRegions[r], in radv_CmdBlitImage2KHR()
/external/vulkan-validation-layers/layers/
Dbuffer_validation.cpp2483 const VkImageCopy *pRegions) { in PreCallValidateCmdCopyImage() argument
2489 skip = ValidateImageCopyData(regionCount, pRegions, src_image_state, dst_image_state); in PreCallValidateCmdCopyImage()
2494 const VkImageCopy region = pRegions[i]; in PreCallValidateCmdCopyImage()
2679 if (RegionIntersects(&region, &pRegions[j], src_image_state->createInfo.imageType, in PreCallValidateCmdCopyImage()
2700 …l(src_image_state->createInfo.format, dst_image_state->createInfo.format, regionCount, pRegions)) { in PreCallValidateCmdCopyImage()
2739 … skip |= VerifyImageLayout(cb_node, src_image_state, pRegions[i].srcSubresource, srcImageLayout, in PreCallValidateCmdCopyImage()
2742 … skip |= VerifyImageLayout(cb_node, dst_image_state, pRegions[i].dstSubresource, dstImageLayout, in PreCallValidateCmdCopyImage()
2745 …opyImageTransferGranularityRequirements(cb_node, src_image_state, dst_image_state, &pRegions[i], i, in PreCallValidateCmdCopyImage()
2754 … uint32_t regionCount, const VkImageCopy *pRegions) { in PreCallRecordCmdCopyImage() argument
2766 const VkImageCopy *pRegions) { in PreCallRecordCmdCopyImage() argument
[all …]
Dparameter_validation_utils.cpp2627 const VkImageCopy *pRegions) { in manual_PreCallValidateCmdCopyImage() argument
2636 if (pRegions != nullptr) { in manual_PreCallValidateCmdCopyImage()
2637 if ((pRegions->srcSubresource.aspectMask & legal_aspect_flags) == 0) { in manual_PreCallValidateCmdCopyImage()
2643 if ((pRegions->dstSubresource.aspectMask & legal_aspect_flags) == 0) { in manual_PreCallValidateCmdCopyImage()
2656 … const VkImageBlit *pRegions, VkFilter filter) { in manual_PreCallValidateCmdBlitImage() argument
2665 if (pRegions != nullptr) { in manual_PreCallValidateCmdBlitImage()
2666 if ((pRegions->srcSubresource.aspectMask & legal_aspect_flags) == 0) { in manual_PreCallValidateCmdBlitImage()
2672 if ((pRegions->dstSubresource.aspectMask & legal_aspect_flags) == 0) { in manual_PreCallValidateCmdBlitImage()
2684 … uint32_t regionCount, const VkBufferImageCopy *pRegions) { in manual_PreCallValidateCmdCopyBufferToImage() argument
2693 if (pRegions != nullptr) { in manual_PreCallValidateCmdCopyBufferToImage()
[all …]
Dcore_validation.h643 … VkImageLayout dstImageLayout, uint32_t regionCount, const VkImageBlit* pRegions,
658 const VkBufferCopy* pRegions);
660 … VkImageLayout dstImageLayout, uint32_t regionCount, const VkBufferImageCopy* pRegions);
662 … VkImageLayout dstImageLayout, uint32_t regionCount, const VkImageCopy* pRegions);
664 … VkBuffer dstBuffer, uint32_t regionCount, const VkBufferImageCopy* pRegions);
707 const VkImageResolve* pRegions);
1305 …bool ValidateBufferImageCopyData(uint32_t regionCount, const VkBufferImageCopy* pRegions, IMAGE_ST…
1426 const VkImageCopy* pRegions);
1435 const VkImageResolve* pRegions);
1439 const VkImageBlit* pRegions, VkFilter filter);
[all …]
Dstateless_validation.h1076 const VkImageCopy *pRegions);
1080 const VkImageBlit *pRegions, VkFilter filter);
1084 const VkBufferImageCopy *pRegions);
1087 … VkBuffer dstBuffer, uint32_t regionCount, const VkBufferImageCopy *pRegions);
/external/mesa3d/src/intel/vulkan/
Danv_blorp.c422 const VkImageCopy* pRegions) in anv_CmdCopyImage() argument
434 .srcSubresource = pRegions[r].srcSubresource, in anv_CmdCopyImage()
435 .srcOffset = pRegions[r].srcOffset, in anv_CmdCopyImage()
436 .dstSubresource = pRegions[r].dstSubresource, in anv_CmdCopyImage()
437 .dstOffset = pRegions[r].dstOffset, in anv_CmdCopyImage()
438 .extent = pRegions[r].extent, in anv_CmdCopyImage()
465 &pCopyImageInfo->pRegions[r]); in anv_CmdCopyImage2KHR()
628 const VkBufferImageCopy* pRegions) in anv_CmdCopyBufferToImage() argument
640 .bufferOffset = pRegions[r].bufferOffset, in anv_CmdCopyBufferToImage()
641 .bufferRowLength = pRegions[r].bufferRowLength, in anv_CmdCopyBufferToImage()
[all …]
/external/swiftshader/src/Vulkan/
DVkCommandBuffer.hpp105 …er(const Buffer *srcBuffer, Buffer *dstBuffer, uint32_t regionCount, const VkBufferCopy *pRegions);
107 uint32_t regionCount, const VkImageCopy *pRegions);
109 uint32_t regionCount, const VkImageBlit *pRegions, VkFilter filter);
111 uint32_t regionCount, const VkBufferImageCopy *pRegions);
113 uint32_t regionCount, const VkBufferImageCopy *pRegions);
123 uint32_t regionCount, const VkImageResolve *pRegions);
DVkCommandBuffer.cpp1490 …fer(const Buffer *srcBuffer, Buffer *dstBuffer, uint32_t regionCount, const VkBufferCopy *pRegions) in copyBuffer() argument
1496 addCommand<::CmdCopyBuffer>(srcBuffer, dstBuffer, pRegions[i]); in copyBuffer()
1501 uint32_t regionCount, const VkImageCopy *pRegions) in copyImage() argument
1511 addCommand<::CmdCopyImage>(srcImage, dstImage, pRegions[i]); in copyImage()
1516 uint32_t regionCount, const VkImageBlit *pRegions, VkFilter filter) in blitImage() argument
1526 addCommand<::CmdBlitImage>(srcImage, dstImage, pRegions[i], filter); in blitImage()
1531 uint32_t regionCount, const VkBufferImageCopy *pRegions) in copyBufferToImage() argument
1537 addCommand<::CmdCopyBufferToImage>(srcBuffer, dstImage, pRegions[i]); in copyBufferToImage()
1542 uint32_t regionCount, const VkBufferImageCopy *pRegions) in copyImageToBuffer() argument
1549 addCommand<::CmdCopyImageToBuffer>(srcImage, dstBuffer, pRegions[i]); in copyImageToBuffer()
[all …]
DlibVulkan.cpp2591 …Buffer, VkBuffer srcBuffer, VkBuffer dstBuffer, uint32_t regionCount, const VkBufferCopy *pRegions) in vkCmdCopyBuffer() argument
2594 …uffer, static_cast<void *>(srcBuffer), static_cast<void *>(dstBuffer), int(regionCount), pRegions); in vkCmdCopyBuffer()
2596 …::Cast(commandBuffer)->copyBuffer(vk::Cast(srcBuffer), vk::Cast(dstBuffer), regionCount, pRegions); in vkCmdCopyBuffer()
2599 … VkImage dstImage, VkImageLayout dstImageLayout, uint32_t regionCount, const VkImageCopy *pRegions) in vkCmdCopyImage() argument
2602 …Image), srcImageLayout, static_cast<void *>(dstImage), dstImageLayout, int(regionCount), pRegions); in vkCmdCopyImage()
2604 …age(vk::Cast(srcImage), srcImageLayout, vk::Cast(dstImage), dstImageLayout, regionCount, pRegions); in vkCmdCopyImage()
2607 …, VkImageLayout dstImageLayout, uint32_t regionCount, const VkImageBlit *pRegions, VkFilter filter) in vkCmdBlitImage() argument
2610 …srcImageLayout, static_cast<void *>(dstImage), dstImageLayout, int(regionCount), pRegions, filter); in vkCmdBlitImage()
2612 …Cast(srcImage), srcImageLayout, vk::Cast(dstImage), dstImageLayout, regionCount, pRegions, filter); in vkCmdBlitImage()
2615 …ge dstImage, VkImageLayout dstImageLayout, uint32_t regionCount, const VkBufferImageCopy *pRegions) in vkCmdCopyBufferToImage() argument
[all …]
/external/mesa3d/src/amd/vulkan/layers/
Dradv_sqtt_layer.c776 const VkBufferCopy* pRegions) in sqtt_CmdCopyBuffer() argument
779 regionCount, pRegions); in sqtt_CmdCopyBuffer()
811 const VkImageCopy* pRegions) in sqtt_CmdCopyImage() argument
814 destImage, destImageLayout, regionCount, pRegions); in sqtt_CmdCopyImage()
823 const VkBufferImageCopy* pRegions) in sqtt_CmdCopyBufferToImage() argument
826 destImageLayout, regionCount, pRegions); in sqtt_CmdCopyBufferToImage()
835 const VkBufferImageCopy* pRegions) in sqtt_CmdCopyImageToBuffer() argument
838 destBuffer, regionCount, pRegions); in sqtt_CmdCopyImageToBuffer()
848 const VkImageBlit* pRegions, in sqtt_CmdBlitImage() argument
852 destImage, destImageLayout, regionCount, pRegions, filter); in sqtt_CmdBlitImage()
/external/mesa3d/src/gallium/frontends/lavapipe/
Dlvp_cmd_buffer.c923 const VkBufferImageCopy* pRegions) in lvp_CmdCopyBufferToImage() argument
944 memcpy(regions, pRegions, regionCount * sizeof(VkBufferImageCopy)); in lvp_CmdCopyBufferToImage()
957 const VkBufferImageCopy* pRegions) in lvp_CmdCopyImageToBuffer() argument
978 memcpy(regions, pRegions, regionCount * sizeof(VkBufferImageCopy)); in lvp_CmdCopyImageToBuffer()
992 const VkImageCopy* pRegions) in lvp_CmdCopyImage() argument
1014 memcpy(regions, pRegions, regionCount * sizeof(VkImageCopy)); in lvp_CmdCopyImage()
1027 const VkBufferCopy* pRegions) in lvp_CmdCopyBuffer() argument
1047 memcpy(regions, pRegions, regionCount * sizeof(VkBufferCopy)); in lvp_CmdCopyBuffer()
1061 const VkImageBlit* pRegions, in lvp_CmdBlitImage() argument
1085 memcpy(regions, pRegions, regionCount * sizeof(VkImageBlit)); in lvp_CmdBlitImage()
/external/mesa3d/src/freedreno/vulkan/
Dtu_clear_blit.c1104 const VkImageBlit *pRegions, in tu_CmdBlitImage() argument
1118 VkImageBlit region = pRegions[i]; in tu_CmdBlitImage()
1120 for_each_bit(b, pRegions[i].dstSubresource.aspectMask) { in tu_CmdBlitImage()
1127 tu6_blit_image(cmd, src_image, dst_image, pRegions + i, filter); in tu_CmdBlitImage()
1226 const VkBufferImageCopy *pRegions) in tu_CmdCopyBufferToImage() argument
1233 tu_copy_buffer_to_image(cmd, src_buffer, dst_image, pRegions + i); in tu_CmdCopyBufferToImage()
1298 const VkBufferImageCopy *pRegions) in tu_CmdCopyImageToBuffer() argument
1305 tu_copy_image_to_buffer(cmd, src_image, dst_buffer, pRegions + i); in tu_CmdCopyImageToBuffer()
1512 const VkImageCopy *pRegions) in tu_CmdCopyImage() argument
1519 tu_copy_image_to_image(cmd, src_image, dst_image, pRegions + i); in tu_CmdCopyImage()
[all …]
/external/mesa3d/prebuilt-intermediates/vulkan/
Danv_entrypoints.h1469 …uffer, VkBuffer srcBuffer, VkBuffer dstBuffer, uint32_t regionCount, const VkBufferCopy* pRegions);
1470 …uffer, VkBuffer srcBuffer, VkBuffer dstBuffer, uint32_t regionCount, const VkBufferCopy* pRegions);
1471 …uffer, VkBuffer srcBuffer, VkBuffer dstBuffer, uint32_t regionCount, const VkBufferCopy* pRegions);
1472 …uffer, VkBuffer srcBuffer, VkBuffer dstBuffer, uint32_t regionCount, const VkBufferCopy* pRegions);
1473 …uffer, VkBuffer srcBuffer, VkBuffer dstBuffer, uint32_t regionCount, const VkBufferCopy* pRegions);
1474 …uffer, VkBuffer srcBuffer, VkBuffer dstBuffer, uint32_t regionCount, const VkBufferCopy* pRegions);
1475 …uffer, VkBuffer srcBuffer, VkBuffer dstBuffer, uint32_t regionCount, const VkBufferCopy* pRegions);
1476 …VkImage dstImage, VkImageLayout dstImageLayout, uint32_t regionCount, const VkImageCopy* pRegions);
1477 …VkImage dstImage, VkImageLayout dstImageLayout, uint32_t regionCount, const VkImageCopy* pRegions);
1478 …VkImage dstImage, VkImageLayout dstImageLayout, uint32_t regionCount, const VkImageCopy* pRegions);
[all …]
Danv_entrypoints.c2330 …Buffer, VkBuffer srcBuffer, VkBuffer dstBuffer, uint32_t regionCount, const VkBufferCopy* pRegions) in anv_CmdCopyBuffer() argument
2333 …ffer->device->dispatch.vkCmdCopyBuffer(commandBuffer, srcBuffer, dstBuffer, regionCount, pRegions); in anv_CmdCopyBuffer()
2336 … VkImage dstImage, VkImageLayout dstImageLayout, uint32_t regionCount, const VkImageCopy* pRegions) in anv_CmdCopyImage() argument
2339 …opyImage(commandBuffer, srcImage, srcImageLayout, dstImage, dstImageLayout, regionCount, pRegions); in anv_CmdCopyImage()
2342 …, VkImageLayout dstImageLayout, uint32_t regionCount, const VkImageBlit* pRegions, VkFilter filter) in anv_CmdBlitImage() argument
2345 …(commandBuffer, srcImage, srcImageLayout, dstImage, dstImageLayout, regionCount, pRegions, filter); in anv_CmdBlitImage()
2348 …ge dstImage, VkImageLayout dstImageLayout, uint32_t regionCount, const VkBufferImageCopy* pRegions) in anv_CmdCopyBufferToImage() argument
2351 ….vkCmdCopyBufferToImage(commandBuffer, srcBuffer, dstImage, dstImageLayout, regionCount, pRegions); in anv_CmdCopyBufferToImage()
2354 …Layout srcImageLayout, VkBuffer dstBuffer, uint32_t regionCount, const VkBufferImageCopy* pRegions) in anv_CmdCopyImageToBuffer() argument
2357 ….vkCmdCopyImageToBuffer(commandBuffer, srcImage, srcImageLayout, dstBuffer, regionCount, pRegions); in anv_CmdCopyImageToBuffer()
[all …]
/external/mesa3d/src/broadcom/vulkan/
Dv3dv_meta_copy.c1166 const VkBufferImageCopy *pRegions) in v3dv_CmdCopyImageToBuffer() argument
1175 if (copy_image_to_buffer_tlb(cmd_buffer, buffer, image, &pRegions[i])) in v3dv_CmdCopyImageToBuffer()
1177 if (copy_image_to_buffer_blit(cmd_buffer, buffer, image, &pRegions[i])) in v3dv_CmdCopyImageToBuffer()
1551 const VkImageCopy *pRegions) in v3dv_CmdCopyImage() argument
1560 if (copy_image_tlb(cmd_buffer, dst, src, &pRegions[i])) in v3dv_CmdCopyImage()
1562 if (copy_image_blit(cmd_buffer, dst, src, &pRegions[i])) in v3dv_CmdCopyImage()
1986 const VkBufferCopy *pRegions) in v3dv_CmdCopyBuffer() argument
1996 &pRegions[i]); in v3dv_CmdCopyBuffer()
2872 const VkBufferImageCopy *pRegions) in v3dv_CmdCopyBufferToImage() argument
2881 if (copy_buffer_to_image_tfu(cmd_buffer, image, buffer, &pRegions[i])) in v3dv_CmdCopyBufferToImage()
[all …]
/external/vulkan-validation-layers/layers/generated/
Dparameter_validation.h513 const VkBufferCopy* pRegions);
521 const VkImageCopy* pRegions);
529 const VkImageBlit* pRegions,
537 const VkBufferImageCopy* pRegions);
544 const VkBufferImageCopy* pRegions);
584 const VkImageResolve* pRegions);
Dthread_safety.h1649 const VkBufferCopy* pRegions);
1656 const VkBufferCopy* pRegions);
1665 const VkImageCopy* pRegions);
1674 const VkImageCopy* pRegions);
1683 const VkImageBlit* pRegions,
1693 const VkImageBlit* pRegions,
1702 const VkBufferImageCopy* pRegions);
1710 const VkBufferImageCopy* pRegions);
1718 const VkBufferImageCopy* pRegions);
1726 const VkBufferImageCopy* pRegions);
[all …]
Dlayer_chassis_dispatch.h541 const VkBufferCopy* pRegions);
549 const VkImageCopy* pRegions);
557 const VkImageBlit* pRegions,
565 const VkBufferImageCopy* pRegions);
572 const VkBufferImageCopy* pRegions);
612 const VkImageResolve* pRegions);
Dchassis.h682 const VkBufferCopy* pRegions);
691 const VkImageCopy* pRegions);
700 const VkImageBlit* pRegions,
709 const VkBufferImageCopy* pRegions);
717 const VkBufferImageCopy* pRegions);
763 const VkImageResolve* pRegions);
2860 …rcBuffer, VkBuffer dstBuffer, uint32_t regionCount, const VkBufferCopy* pRegions) { return false;… in PreCallValidateCmdCopyBuffer() argument
2861 …er, VkBuffer srcBuffer, VkBuffer dstBuffer, uint32_t regionCount, const VkBufferCopy* pRegions) {}; in PreCallRecordCmdCopyBuffer() argument
2862 …er, VkBuffer srcBuffer, VkBuffer dstBuffer, uint32_t regionCount, const VkBufferCopy* pRegions) {}; in PostCallRecordCmdCopyBuffer() argument
2863 … VkImageLayout dstImageLayout, uint32_t regionCount, const VkImageCopy* pRegions) { return false;… in PreCallValidateCmdCopyImage() argument
[all …]
Dparameter_validation.cpp592 …", "swapchainCount", "pRegions", structure->swapchainCount, &structure->pRegions, true, false, "VU… in ValidatePnextStructContents()
594 if (structure->pRegions != NULL) in ValidatePnextStructContents()
598 if (structure->pRegions[swapchainIndex].pRectangles != NULL) in ValidatePnextStructContents()
600 …for (uint32_t rectangleIndex = 0; rectangleIndex < structure->pRegions[swapchainIndex].rectangleCo… in ValidatePnextStructContents()
4297 const VkBufferCopy* pRegions) { in PreCallValidateCmdCopyBuffer() argument
4301 …skip |= validate_array("vkCmdCopyBuffer", "regionCount", "pRegions", regionCount, &pRegions, true,… in PreCallValidateCmdCopyBuffer()
4302 if (pRegions != NULL) in PreCallValidateCmdCopyBuffer()
4319 const VkImageCopy* pRegions) { in PreCallValidateCmdCopyImage() argument
4325 …skip |= validate_array("vkCmdCopyImage", "regionCount", "pRegions", regionCount, &pRegions, true, … in PreCallValidateCmdCopyImage()
4326 if (pRegions != NULL) in PreCallValidateCmdCopyImage()
[all …]
/external/deqp/external/vulkancts/framework/vulkan/
DvkDeviceDriverImpl.inl485 …, VkBuffer srcBuffer, VkBuffer dstBuffer, deUint32 regionCount, const VkBufferCopy* pRegions) const
487 m_vk.cmdCopyBuffer(commandBuffer, srcBuffer, dstBuffer, regionCount, pRegions);
490 …ge dstImage, VkImageLayout dstImageLayout, deUint32 regionCount, const VkImageCopy* pRegions) const
492 …opyImage(commandBuffer, srcImage, srcImageLayout, dstImage, dstImageLayout, regionCount, pRegions);
495 … VkImageLayout dstImageLayout, deUint32 regionCount, const VkImageBlit* pRegions, VkFilter filter)… argument
497 …(commandBuffer, srcImage, srcImageLayout, dstImage, dstImageLayout, regionCount, pRegions, filter);
500 …Image, VkImageLayout dstImageLayout, deUint32 regionCount, const VkBufferImageCopy* pRegions) const
502 …vk.cmdCopyBufferToImage(commandBuffer, srcBuffer, dstImage, dstImageLayout, regionCount, pRegions);
505 … srcImageLayout, VkBuffer dstBuffer, deUint32 regionCount, const VkBufferImageCopy* pRegions) const
507 …vk.cmdCopyImageToBuffer(commandBuffer, srcImage, srcImageLayout, dstBuffer, regionCount, pRegions);
[all …]
/external/vulkan-validation-layers/tests/
Dvkrenderframework.h212 uint32_t regionCount, const VkImageCopy *pRegions);
214 uint32_t regionCount, const VkImageResolve *pRegions);

123