| 3195 | } |
| 3196 | template <ApiDumpFormat Format> |
| 3197 | VKAPI_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()); |
| 3199 | |
| 3200 | dump_function_head(ApiDumpInstance::current(), "vkCmdCopyBufferToImage", "commandBuffer, srcBuffer, dstImage, dstImageLayout, regionCount, pRegions", "void"); |
| 3201 | if constexpr (Format == ApiDumpFormat::Text) { |
| 3202 | if (ApiDumpInstance::current().settings().shouldPreDump() && ApiDumpInstance::current().shouldDumpOutput()) { |
| 3203 | dump_before_pre_dump_formatting<Format>(ApiDumpInstance::current().settings()); |
| 3204 | dump_params_vkCmdCopyBufferToImage<Format>(ApiDumpInstance::current(), commandBuffer, srcBuffer, dstImage, dstImageLayout, regionCount, pRegions); |
| 3205 | } |
| 3206 | } |
| 3207 | device_dispatch_table(commandBuffer)->CmdCopyBufferToImage(commandBuffer, srcBuffer, dstImage, dstImageLayout, regionCount, pRegions); |
| 3208 | if (ApiDumpInstance::current().shouldDumpOutput()) { |
| 3209 | dump_pre_function_formatting<Format>(ApiDumpInstance::current().settings()); |
| 3210 | dump_params_vkCmdCopyBufferToImage<Format>(ApiDumpInstance::current(), commandBuffer, srcBuffer, dstImage, dstImageLayout, regionCount, pRegions); |
| 3211 | dump_post_function_formatting<Format>(ApiDumpInstance::current().settings()); |
| 3212 | flush(ApiDumpInstance::current().settings()); |
| 3213 | } |
| 3214 | } |
| 3215 | template <ApiDumpFormat Format> |
| 3216 | VKAPI_ATTR void VKAPI_CALL vkCmdCopyImageToBuffer(VkCommandBuffer commandBuffer, VkImage srcImage, VkImageLayout srcImageLayout, VkBuffer dstBuffer, uint32_t regionCount, const VkBufferImageCopy* pRegions) { |
| 3217 | std::lock_guard<std::mutex> lg(ApiDumpInstance::current().outputMutex()); |
nothing calls this directly
no test coverage detected