| 410 | } |
| 411 | |
| 412 | void CommandBufferSubState::RecordCopyImage2(vvl::Image& src_image_state, vvl::Image& dst_image_state, VkImageLayout, VkImageLayout, |
| 413 | uint32_t region_count, const VkImageCopy2* regions, const Location& loc) { |
| 414 | for (uint32_t i = 0; i < region_count; i++) { |
| 415 | validator.QueueValidateImage(queue_submit_functions, loc, src_image_state, IMAGE_SUBRESOURCE_USAGE_BP::COPY_READ, |
| 416 | regions[i].srcSubresource); |
| 417 | validator.QueueValidateImage(queue_submit_functions, loc, dst_image_state, IMAGE_SUBRESOURCE_USAGE_BP::COPY_WRITE, |
| 418 | regions[i].dstSubresource); |
| 419 | } |
| 420 | } |
| 421 | |
| 422 | void CommandBufferSubState::RecordCopyBufferToImage(vvl::Buffer&, vvl::Image& dst_image_state, VkImageLayout, uint32_t region_count, |
| 423 | const VkBufferImageCopy* regions, const Location& loc) { |
nothing calls this directly
no test coverage detected