MCPcopy Create free account
hub / github.com/LunarG/VulkanTools / vkCmdCopyImage

Function vkCmdCopyImage

layersvt/generated/api_dump_dispatch.h:3178–3195  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3176}
3177template <ApiDumpFormat Format>
3178VKAPI_ATTR void VKAPI_CALL vkCmdCopyImage(VkCommandBuffer commandBuffer, VkImage srcImage, VkImageLayout srcImageLayout, VkImage dstImage, VkImageLayout dstImageLayout, uint32_t regionCount, const VkImageCopy* pRegions) {
3179 std::lock_guard<std::mutex> lg(ApiDumpInstance::current().outputMutex());
3180
3181 dump_function_head(ApiDumpInstance::current(), "vkCmdCopyImage", "commandBuffer, srcImage, srcImageLayout, dstImage, dstImageLayout, regionCount, pRegions", "void");
3182 if constexpr (Format == ApiDumpFormat::Text) {
3183 if (ApiDumpInstance::current().settings().shouldPreDump() && ApiDumpInstance::current().shouldDumpOutput()) {
3184 dump_before_pre_dump_formatting<Format>(ApiDumpInstance::current().settings());
3185 dump_params_vkCmdCopyImage<Format>(ApiDumpInstance::current(), commandBuffer, srcImage, srcImageLayout, dstImage, dstImageLayout, regionCount, pRegions);
3186 }
3187 }
3188 device_dispatch_table(commandBuffer)->CmdCopyImage(commandBuffer, srcImage, srcImageLayout, dstImage, dstImageLayout, regionCount, pRegions);
3189 if (ApiDumpInstance::current().shouldDumpOutput()) {
3190 dump_pre_function_formatting<Format>(ApiDumpInstance::current().settings());
3191 dump_params_vkCmdCopyImage<Format>(ApiDumpInstance::current(), commandBuffer, srcImage, srcImageLayout, dstImage, dstImageLayout, regionCount, pRegions);
3192 dump_post_function_formatting<Format>(ApiDumpInstance::current().settings());
3193 flush(ApiDumpInstance::current().settings());
3194 }
3195}
3196template <ApiDumpFormat Format>
3197VKAPI_ATTR void VKAPI_CALL vkCmdCopyBufferToImage(VkCommandBuffer commandBuffer, VkBuffer srcBuffer, VkImage dstImage, VkImageLayout dstImageLayout, uint32_t regionCount, const VkBufferImageCopy* pRegions) {
3198 std::lock_guard<std::mutex> lg(ApiDumpInstance::current().outputMutex());

Callers

nothing calls this directly

Calls 5

dump_function_headFunction · 0.85
device_dispatch_tableFunction · 0.85
flushFunction · 0.85
shouldPreDumpMethod · 0.80
shouldDumpOutputMethod · 0.80

Tested by

no test coverage detected