| 80 | } |
| 81 | |
| 82 | size_t ResourceRecord::register_render_pass(const std::vector<vkb::rendering::AttachmentC> &attachments, const std::vector<LoadStoreInfo> &load_store_infos, const std::vector<SubpassInfo> &subpasses) |
| 83 | { |
| 84 | render_pass_indices.push_back(render_pass_indices.size()); |
| 85 | |
| 86 | write(stream, |
| 87 | ResourceType::RenderPass, |
| 88 | attachments, |
| 89 | load_store_infos); |
| 90 | |
| 91 | write_subpass_info(stream, subpasses); |
| 92 | |
| 93 | return render_pass_indices.back(); |
| 94 | } |
| 95 | |
| 96 | size_t ResourceRecord::register_graphics_pipeline(VkPipelineCache /*pipeline_cache*/, vkb::rendering::PipelineStateC &pipeline_state) |
| 97 | { |
no test coverage detected