MCPcopy Create free account
hub / github.com/KhronosGroup/Vulkan-ValidationLayers / RecordResolveImage

Method RecordResolveImage

layers/best_practices/bp_state.cpp:476–484  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

474}
475
476void CommandBufferSubState::RecordResolveImage(vvl::Image& src_image_state, vvl::Image& dst_image_state, uint32_t region_count,
477 const VkImageResolve* regions, const Location& loc) {
478 for (uint32_t i = 0; i < region_count; i++) {
479 validator.QueueValidateImage(queue_submit_functions, loc, src_image_state, IMAGE_SUBRESOURCE_USAGE_BP::RESOLVE_READ,
480 regions[i].srcSubresource);
481 validator.QueueValidateImage(queue_submit_functions, loc, dst_image_state, IMAGE_SUBRESOURCE_USAGE_BP::RESOLVE_WRITE,
482 regions[i].dstSubresource);
483 }
484}
485
486void CommandBufferSubState::RecordResolveImage2(vvl::Image& src_image_state, vvl::Image& dst_image_state, uint32_t region_count,
487 const VkImageResolve2* regions, const Location& loc) {

Callers

nothing calls this directly

Calls 1

QueueValidateImageMethod · 0.80

Tested by

no test coverage detected