Home
last modified time | relevance | path

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

/external/mesa3d/src/amd/vulkan/
Dradv_meta_copy.c113 const VkBufferImageCopy* pRegions) in meta_copy_buffer_to_image() argument
141 meta_region_offset_el(image, &pRegions[r].imageOffset); in meta_copy_buffer_to_image()
143 .width = pRegions[r].bufferRowLength ? in meta_copy_buffer_to_image()
144 pRegions[r].bufferRowLength : pRegions[r].imageExtent.width, in meta_copy_buffer_to_image()
145 .height = pRegions[r].bufferImageHeight ? in meta_copy_buffer_to_image()
146 pRegions[r].bufferImageHeight : pRegions[r].imageExtent.height, in meta_copy_buffer_to_image()
153 meta_region_extent_el(image, &pRegions[r].imageExtent); in meta_copy_buffer_to_image()
162 &pRegions[r].imageSubresource); in meta_copy_buffer_to_image()
168 .offset = pRegions[r].bufferOffset, in meta_copy_buffer_to_image()
174 unsigned num_slices_array = pRegions[r].imageSubresource.layerCount; in meta_copy_buffer_to_image()
[all …]
Dradv_meta_blit.c491 const VkImageBlit* pRegions, in radv_CmdBlitImage() argument
511 const VkImageSubresourceLayers *src_res = &pRegions[r].srcSubresource; in radv_CmdBlitImage()
512 const VkImageSubresourceLayers *dst_res = &pRegions[r].dstSubresource; in radv_CmdBlitImage()
533 dst_start = pRegions[r].dstOffsets[0].z; in radv_CmdBlitImage()
534 dst_end = pRegions[r].dstOffsets[1].z; in radv_CmdBlitImage()
543 src_start = pRegions[r].srcOffsets[0].z; in radv_CmdBlitImage()
544 src_end = pRegions[r].srcOffsets[1].z; in radv_CmdBlitImage()
559 unsigned src_x0 = pRegions[r].srcOffsets[0].x; in radv_CmdBlitImage()
560 unsigned src_x1 = pRegions[r].srcOffsets[1].x; in radv_CmdBlitImage()
561 unsigned dst_x0 = pRegions[r].dstOffsets[0].x; in radv_CmdBlitImage()
[all …]
Dradv_meta_buffer.c493 const VkBufferCopy* pRegions) in radv_CmdCopyBuffer() argument
500 uint64_t src_offset = src_buffer->offset + pRegions[r].srcOffset; in radv_CmdCopyBuffer()
501 uint64_t dest_offset = dest_buffer->offset + pRegions[r].dstOffset; in radv_CmdCopyBuffer()
502 uint64_t copy_size = pRegions[r].size; in radv_CmdCopyBuffer()
/external/mesa3d/src/intel/vulkan/
Danv_blorp.c207 const VkImageCopy* pRegions) in anv_CmdCopyImage() argument
218 anv_sanitize_image_offset(src_image->type, pRegions[r].srcOffset); in anv_CmdCopyImage()
220 anv_sanitize_image_offset(dst_image->type, pRegions[r].dstOffset); in anv_CmdCopyImage()
222 anv_sanitize_image_extent(src_image->type, pRegions[r].extent); in anv_CmdCopyImage()
226 dst_base_layer = pRegions[r].dstOffset.z; in anv_CmdCopyImage()
227 layer_count = pRegions[r].extent.depth; in anv_CmdCopyImage()
229 dst_base_layer = pRegions[r].dstSubresource.baseArrayLayer; in anv_CmdCopyImage()
231 anv_get_layerCount(dst_image, &pRegions[r].dstSubresource); in anv_CmdCopyImage()
236 src_base_layer = pRegions[r].srcOffset.z; in anv_CmdCopyImage()
238 src_base_layer = pRegions[r].srcSubresource.baseArrayLayer; in anv_CmdCopyImage()
[all …]
/external/vulkan-validation-layers/layers/
Dimage.cpp943 const VkImageCopy *pRegions) { in CmdCopyImage() argument
948 skip = PreCallValidateCmdCopyImage(commandBuffer, srcImage, dstImage, regionCount, pRegions); in CmdCopyImage()
952 regionCount, pRegions); in CmdCopyImage()
991 …eData(layer_data *dev_data, uint32_t regionCount, const VkBufferImageCopy *pRegions, VkImage image, in ValidateBufferToImageData() argument
1001 if (vk_safe_modulo(pRegions[i].bufferOffset, texel_size) != 0) { in ValidateBufferToImageData()
1006 function, i, pRegions[i].bufferOffset, texel_size); in ValidateBufferToImageData()
1009 if (vk_safe_modulo(pRegions[i].bufferOffset, 4) != 0) { in ValidateBufferToImageData()
1013 pRegions[i].bufferOffset); in ValidateBufferToImageData()
1017 …if ((pRegions[i].bufferRowLength != 0) && (pRegions[i].bufferRowLength < pRegions[i].imageExtent.w… in ValidateBufferToImageData()
1022 function, i, pRegions[i].bufferRowLength, pRegions[i].imageExtent.width); in ValidateBufferToImageData()
[all …]
Dparameter_validation.cpp4185 uint32_t regionCount, const VkBufferCopy *pRegions) { in CmdCopyBuffer() argument
4190 …eter_validation_vkCmdCopyBuffer(my_data->report_data, srcBuffer, dstBuffer, regionCount, pRegions); in CmdCopyBuffer()
4194 ->CmdCopyBuffer(commandBuffer, srcBuffer, dstBuffer, regionCount, pRegions); in CmdCopyBuffer()
4198 bool PreCmdCopyImage(VkCommandBuffer commandBuffer, const VkImageCopy *pRegions) { in PreCmdCopyImage() argument
4199 if (pRegions != nullptr) { in PreCmdCopyImage()
4200 …if ((pRegions->srcSubresource.aspectMask & (VK_IMAGE_ASPECT_COLOR_BIT | VK_IMAGE_ASPECT_DEPTH_BIT | in PreCmdCopyImage()
4207 …if ((pRegions->dstSubresource.aspectMask & (VK_IMAGE_ASPECT_COLOR_BIT | VK_IMAGE_ASPECT_DEPTH_BIT | in PreCmdCopyImage()
4221 const VkImageCopy *pRegions) { in CmdCopyImage() argument
4227 regionCount, pRegions); in CmdCopyImage()
4230 PreCmdCopyImage(commandBuffer, pRegions); in CmdCopyImage()
[all …]
Dobject_tracker.cpp2097 uint32_t regionCount, const VkBufferCopy *pRegions) { in CmdCopyBuffer() argument
2112 ->CmdCopyBuffer(commandBuffer, srcBuffer, dstBuffer, regionCount, pRegions); in CmdCopyBuffer()
2117 const VkImageCopy *pRegions) { in CmdCopyImage() argument
2130 …opyImage(commandBuffer, srcImage, srcImageLayout, dstImage, dstImageLayout, regionCount, pRegions); in CmdCopyImage()
2135 const VkImageBlit *pRegions, VkFilter filter) { in CmdBlitImage() argument
2148 …(commandBuffer, srcImage, srcImageLayout, dstImage, dstImageLayout, regionCount, pRegions, filter); in CmdBlitImage()
2153 const VkBufferImageCopy *pRegions) { in CmdCopyBufferToImage() argument
2167 … ->CmdCopyBufferToImage(commandBuffer, srcBuffer, dstImage, dstImageLayout, regionCount, pRegions); in CmdCopyBufferToImage()
2171 … VkBuffer dstBuffer, uint32_t regionCount, const VkBufferImageCopy *pRegions) { in CmdCopyImageToBuffer() argument
2185 … ->CmdCopyImageToBuffer(commandBuffer, srcImage, srcImageLayout, dstBuffer, regionCount, pRegions); in CmdCopyImageToBuffer()
[all …]
Dcore_validation.cpp7913 uint32_t regionCount, const VkBufferCopy *pRegions) { in CmdCopyBuffer() argument
7951 …dev_data->dispatch_table.CmdCopyBuffer(commandBuffer, srcBuffer, dstBuffer, regionCount, pRegions); in CmdCopyBuffer()
8217 VkImageLayout dstImageLayout, uint32_t regionCount, const VkImageCopy *pRegions) { in CmdCopyImage() argument
8249 …skip_call |= VerifySourceImageLayout(dev_data, cb_node, srcImage, pRegions[i].srcSubresource, srcI… in CmdCopyImage()
8250 …skip_call |= VerifyDestImageLayout(dev_data, cb_node, dstImage, pRegions[i].dstSubresource, dstIma… in CmdCopyImage()
8251 …lidateCopyImageTransferGranularityRequirements(dev_data, cb_node, dst_image_state, &pRegions[i], i, in CmdCopyImage()
8260 pRegions); in CmdCopyImage()
8279 …VkImageLayout dstImageLayout, uint32_t regionCount, const VkImageBlit *pRegions, VkFilter filter) { in CmdBlitImage() argument
8318 pRegions, filter); in CmdBlitImage()
8323 … uint32_t regionCount, const VkBufferImageCopy *pRegions) { in CmdCopyBufferToImage() argument
[all …]
Dvk_validation_error_database.txt1151 …ta Between Buffers' which states 'The size member of a given element of pRegions must be greater t…
1152 …tween Buffers' which states 'The srcOffset member of a given element of pRegions must be less than…
1153 …tween Buffers' which states 'The dstOffset member of a given element of pRegions must be less than…
1154 …ta Between Buffers' which states 'The size member of a given element of pRegions must be less than…
1155 …ta Between Buffers' which states 'The size member of a given element of pRegions must be less than…
1156 … and the union of the destination regions, specified by the elements of pRegions, must not overlap…
1162 … Vulkan Spec Section '18.2. Copying Data Between Buffers' which states 'pRegions must be a pointer…
1168 …Images' which states 'The source region specified by a given element of pRegions must be a region …
1169 …s' which states 'The destination region specified by a given element of pRegions must be a region …
1170 … and the union of all destination regions, specified by the elements of pRegions, must not overlap…
[all …]
/external/deqp/external/vulkancts/framework/vulkan/
DvkDeviceDriverImpl.inl480 …, VkBuffer srcBuffer, VkBuffer dstBuffer, deUint32 regionCount, const VkBufferCopy* pRegions) const
482 m_vk.cmdCopyBuffer(commandBuffer, srcBuffer, dstBuffer, regionCount, pRegions);
485 …ge dstImage, VkImageLayout dstImageLayout, deUint32 regionCount, const VkImageCopy* pRegions) const
487 …opyImage(commandBuffer, srcImage, srcImageLayout, dstImage, dstImageLayout, regionCount, pRegions);
490 … VkImageLayout dstImageLayout, deUint32 regionCount, const VkImageBlit* pRegions, VkFilter filter)… argument
492 …(commandBuffer, srcImage, srcImageLayout, dstImage, dstImageLayout, regionCount, pRegions, filter);
495 …Image, VkImageLayout dstImageLayout, deUint32 regionCount, const VkBufferImageCopy* pRegions) const
497 …vk.cmdCopyBufferToImage(commandBuffer, srcBuffer, dstImage, dstImageLayout, regionCount, pRegions);
500 … srcImageLayout, VkBuffer dstBuffer, deUint32 regionCount, const VkBufferImageCopy* pRegions) const
502 …vk.cmdCopyImageToBuffer(commandBuffer, srcImage, srcImageLayout, dstBuffer, regionCount, pRegions);
[all …]
DvkVirtualDeviceInterface.inl99 …uffer srcBuffer, VkBuffer dstBuffer, deUint32 regionCount, const VkBufferCopy* pRegions) const = 0;
100 …tImage, VkImageLayout dstImageLayout, deUint32 regionCount, const VkImageCopy* pRegions) const = 0;
101 … VkImageLayout dstImageLayout, deUint32 regionCount, const VkImageBlit* pRegions, VkFilter filter)…
102 …, VkImageLayout dstImageLayout, deUint32 regionCount, const VkBufferImageCopy* pRegions) const = 0;
103 …mageLayout, VkBuffer dstBuffer, deUint32 regionCount, const VkBufferImageCopy* pRegions) const = 0;
109 …age, VkImageLayout dstImageLayout, deUint32 regionCount, const VkImageResolve* pRegions) const = 0;
DvkConcreteDeviceInterface.inl99 … VkBuffer srcBuffer, VkBuffer dstBuffer, deUint32 regionCount, const VkBufferCopy* pRegions) const;
100 …e dstImage, VkImageLayout dstImageLayout, deUint32 regionCount, const VkImageCopy* pRegions) const;
101 … VkImageLayout dstImageLayout, deUint32 regionCount, const VkImageBlit* pRegions, VkFilter filter)…
102 …mage, VkImageLayout dstImageLayout, deUint32 regionCount, const VkBufferImageCopy* pRegions) const;
103 …srcImageLayout, VkBuffer dstBuffer, deUint32 regionCount, const VkBufferImageCopy* pRegions) const;
109 …stImage, VkImageLayout dstImageLayout, deUint32 regionCount, const VkImageResolve* pRegions) const;
DvkNullDriverImpl.inl737 …Buffer, VkBuffer srcBuffer, VkBuffer dstBuffer, deUint32 regionCount, const VkBufferCopy* pRegions) argument
743 DE_UNREF(pRegions);
746 … VkImage dstImage, VkImageLayout dstImageLayout, deUint32 regionCount, const VkImageCopy* pRegions) argument
754 DE_UNREF(pRegions);
757 …, VkImageLayout dstImageLayout, deUint32 regionCount, const VkImageBlit* pRegions, VkFilter filter) argument
765 DE_UNREF(pRegions);
769 …ge dstImage, VkImageLayout dstImageLayout, deUint32 regionCount, const VkBufferImageCopy* pRegions) argument
776 DE_UNREF(pRegions);
779 …Layout srcImageLayout, VkBuffer dstBuffer, deUint32 regionCount, const VkBufferImageCopy* pRegions) argument
786 DE_UNREF(pRegions);
[all …]
DvkFunctionPointerTypes.inl116 …uffer, VkBuffer srcBuffer, VkBuffer dstBuffer, deUint32 regionCount, const VkBufferCopy* pRegions);
117 …VkImage dstImage, VkImageLayout dstImageLayout, deUint32 regionCount, const VkImageCopy* pRegions);
118 … VkImageLayout dstImageLayout, deUint32 regionCount, const VkImageBlit* pRegions, VkFilter filter);
119 …e dstImage, VkImageLayout dstImageLayout, deUint32 regionCount, const VkBufferImageCopy* pRegions);
120 …ayout srcImageLayout, VkBuffer dstBuffer, deUint32 regionCount, const VkBufferImageCopy* pRegions);
126 …mage dstImage, VkImageLayout dstImageLayout, deUint32 regionCount, const VkImageResolve* pRegions);
DvkStructTypes.inl1472 const VkPresentRegionKHR* pRegions; member
DvkStrUtilImpl.inl3720 s << "\tpRegions = " << value.pRegions << '\n';
/external/vulkan-validation-layers/tests/layers/
Dwrap_objects.cpp817 …Buffer, VkBuffer srcBuffer, VkBuffer dstBuffer, uint32_t regionCount, const VkBufferCopy* pRegions) in vkCmdCopyBuffer() argument
819 …ch_table(commandBuffer)->CmdCopyBuffer(commandBuffer, srcBuffer, dstBuffer, regionCount, pRegions); in vkCmdCopyBuffer()
823 … VkImage dstImage, VkImageLayout dstImageLayout, uint32_t regionCount, const VkImageCopy* pRegions) in vkCmdCopyImage() argument
825 …opyImage(commandBuffer, srcImage, srcImageLayout, dstImage, dstImageLayout, regionCount, pRegions); in vkCmdCopyImage()
829 …, VkImageLayout dstImageLayout, uint32_t regionCount, const VkImageBlit* pRegions, VkFilter filter) in vkCmdBlitImage() argument
831 …(commandBuffer, srcImage, srcImageLayout, dstImage, dstImageLayout, regionCount, pRegions, filter); in vkCmdBlitImage()
835 …ge dstImage, VkImageLayout dstImageLayout, uint32_t regionCount, const VkBufferImageCopy* pRegions) in vkCmdCopyBufferToImage() argument
837 …)->CmdCopyBufferToImage(commandBuffer, srcBuffer, dstImage, dstImageLayout, regionCount, pRegions); in vkCmdCopyBufferToImage()
840 …Layout srcImageLayout, VkBuffer dstBuffer, uint32_t regionCount, const VkBufferImageCopy* pRegions) in vkCmdCopyImageToBuffer() argument
842 …)->CmdCopyImageToBuffer(commandBuffer, srcImage, srcImageLayout, dstBuffer, regionCount, pRegions); in vkCmdCopyImageToBuffer()
[all …]
/external/vulkan-validation-layers/loader/
Dtrampoline.c1981 const VkBufferCopy *pRegions) { argument
1987 pRegions);
1994 const VkImageCopy *pRegions) { argument
2000 dstImageLayout, regionCount, pRegions);
2007 const VkImageBlit *pRegions, VkFilter filter) { argument
2013 dstImageLayout, regionCount, pRegions, filter);
2020 const VkBufferImageCopy *pRegions) { argument
2026 dstImageLayout, regionCount, pRegions);
2033 const VkBufferImageCopy *pRegions) { argument
2039 dstBuffer, regionCount, pRegions);
[all …]
/external/vulkan-validation-layers/tests/
Dvkrenderframework.h186 uint32_t regionCount, const VkImageCopy *pRegions);
188 uint32_t regionCount, const VkImageResolve *pRegions);
Dvkrenderframework.cpp1404 uint32_t regionCount, const VkImageCopy *pRegions) { in CopyImage() argument
1405 …kCmdCopyImage(handle(), srcImage, srcImageLayout, dstImage, dstImageLayout, regionCount, pRegions); in CopyImage()
1409 … VkImageLayout dstImageLayout, uint32_t regionCount, const VkImageResolve *pRegions) { in ResolveImage() argument
1410 …dResolveImage(handle(), srcImage, srcImageLayout, dstImage, dstImageLayout, regionCount, pRegions); in ResolveImage()
/external/vulkan-validation-layers/include/vulkan/
Dvulkan.h2365 …uffer, VkBuffer srcBuffer, VkBuffer dstBuffer, uint32_t regionCount, const VkBufferCopy* pRegions);
2366 …VkImage dstImage, VkImageLayout dstImageLayout, uint32_t regionCount, const VkImageCopy* pRegions);
2367 … VkImageLayout dstImageLayout, uint32_t regionCount, const VkImageBlit* pRegions, VkFilter filter);
2368 …e dstImage, VkImageLayout dstImageLayout, uint32_t regionCount, const VkBufferImageCopy* pRegions);
2369 …ayout srcImageLayout, VkBuffer dstBuffer, uint32_t regionCount, const VkBufferImageCopy* pRegions);
2375 …mage dstImage, VkImageLayout dstImageLayout, uint32_t regionCount, const VkImageResolve* pRegions);
3013 const VkBufferCopy* pRegions);
3022 const VkImageCopy* pRegions);
3031 const VkImageBlit* pRegions,
3040 const VkBufferImageCopy* pRegions);
[all …]
Dvulkan.hpp14089 …uffer( Buffer srcBuffer, Buffer dstBuffer, uint32_t regionCount, const BufferCopy* pRegions ) const in copyBuffer()
14091 …atic_cast<VkBuffer>( dstBuffer ), regionCount, reinterpret_cast<const VkBufferCopy*>( pRegions ) ); in copyBuffer()
14101 …Image dstImage, ImageLayout dstImageLayout, uint32_t regionCount, const ImageCopy* pRegions ) const in copyImage()
14103 …<VkImageLayout>( dstImageLayout ), regionCount, reinterpret_cast<const VkImageCopy*>( pRegions ) ); in copyImage()
14113 …age, ImageLayout dstImageLayout, uint32_t regionCount, const ImageBlit* pRegions, Filter filter ) … in blitImage() argument
14115 …>( dstImageLayout ), regionCount, reinterpret_cast<const VkImageBlit*>( pRegions ), static_cast<Vk… in blitImage()
14125 …dstImage, ImageLayout dstImageLayout, uint32_t regionCount, const BufferImageCopy* pRegions ) const in copyBufferToImage()
14127 …geLayout>( dstImageLayout ), regionCount, reinterpret_cast<const VkBufferImageCopy*>( pRegions ) ); in copyBufferToImage()
14137 …out srcImageLayout, Buffer dstBuffer, uint32_t regionCount, const BufferImageCopy* pRegions ) const in copyImageToBuffer()
14139 …cast<VkBuffer>( dstBuffer ), regionCount, reinterpret_cast<const VkBufferImageCopy*>( pRegions ) ); in copyImageToBuffer()
[all …]
/external/skia/third_party/vulkan/vulkan/
Dvulkan.h2471 …uffer, VkBuffer srcBuffer, VkBuffer dstBuffer, uint32_t regionCount, const VkBufferCopy* pRegions);
2472 …VkImage dstImage, VkImageLayout dstImageLayout, uint32_t regionCount, const VkImageCopy* pRegions);
2473 … VkImageLayout dstImageLayout, uint32_t regionCount, const VkImageBlit* pRegions, VkFilter filter);
2474 …e dstImage, VkImageLayout dstImageLayout, uint32_t regionCount, const VkBufferImageCopy* pRegions);
2475 …ayout srcImageLayout, VkBuffer dstBuffer, uint32_t regionCount, const VkBufferImageCopy* pRegions);
2481 …mage dstImage, VkImageLayout dstImageLayout, uint32_t regionCount, const VkImageResolve* pRegions);
3119 const VkBufferCopy* pRegions);
3128 const VkImageCopy* pRegions);
3137 const VkImageBlit* pRegions,
3146 const VkBufferImageCopy* pRegions);
[all …]
/external/mesa3d/include/vulkan/
Dvulkan.h2374 …uffer, VkBuffer srcBuffer, VkBuffer dstBuffer, uint32_t regionCount, const VkBufferCopy* pRegions);
2375 …VkImage dstImage, VkImageLayout dstImageLayout, uint32_t regionCount, const VkImageCopy* pRegions);
2376 … VkImageLayout dstImageLayout, uint32_t regionCount, const VkImageBlit* pRegions, VkFilter filter);
2377 …e dstImage, VkImageLayout dstImageLayout, uint32_t regionCount, const VkBufferImageCopy* pRegions);
2378 …ayout srcImageLayout, VkBuffer dstBuffer, uint32_t regionCount, const VkBufferImageCopy* pRegions);
2384 …mage dstImage, VkImageLayout dstImageLayout, uint32_t regionCount, const VkImageResolve* pRegions);
3022 const VkBufferCopy* pRegions);
3031 const VkImageCopy* pRegions);
3040 const VkImageBlit* pRegions,
3049 const VkBufferImageCopy* pRegions);
[all …]
/external/deqp/external/vulkancts/scripts/src/
Dvulkan.h.in2530 …uffer, VkBuffer srcBuffer, VkBuffer dstBuffer, uint32_t regionCount, const VkBufferCopy* pRegions);
2531 …VkImage dstImage, VkImageLayout dstImageLayout, uint32_t regionCount, const VkImageCopy* pRegions);
2532 … VkImageLayout dstImageLayout, uint32_t regionCount, const VkImageBlit* pRegions, VkFilter filter);
2533 …e dstImage, VkImageLayout dstImageLayout, uint32_t regionCount, const VkBufferImageCopy* pRegions);
2534 …ayout srcImageLayout, VkBuffer dstBuffer, uint32_t regionCount, const VkBufferImageCopy* pRegions);
2540 …mage dstImage, VkImageLayout dstImageLayout, uint32_t regionCount, const VkImageResolve* pRegions);
3178 const VkBufferCopy* pRegions);
3187 const VkImageCopy* pRegions);
3196 const VkImageBlit* pRegions,
3205 const VkBufferImageCopy* pRegions);
[all …]