#include "state_tracker/render_pass_state.h"
#include "utils/convert_utils.h"
#include "state_tracker/image_state.h"
static const VkImageLayout kInvalidLayout = …;
static VkSubpassDependency2 ImplicitDependencyFromExternal(uint32_t subpass) { … }
static VkSubpassDependency2 ImplicitDependencyToExternal(uint32_t subpass) { … }
static void RecordRenderPassDAG(const VkRenderPassCreateInfo2 *pCreateInfo, vvl::RenderPass *render_pass) { … }
struct AttachmentTracker { … };
static void InitRenderPassState(vvl::RenderPass *render_pass) { … }
namespace vvl {
RenderPass::RenderPass(VkRenderPass handle, VkRenderPassCreateInfo2 const *pCreateInfo)
: … { … }
static vku::safe_VkRenderPassCreateInfo2 ConvertCreateInfo(const VkRenderPassCreateInfo &create_info) { … }
RenderPass::RenderPass(VkRenderPass handle, VkRenderPassCreateInfo const *pCreateInfo)
: … { … }
const VkPipelineRenderingCreateInfo VkPipelineRenderingCreateInfo_default = …;
RenderPass::RenderPass(VkPipelineRenderingCreateInfo const *pPipelineRenderingCreateInfo, bool rasterization_enabled)
: … { … }
bool RenderPass::UsesColorAttachment(uint32_t subpass_num) const { … }
bool RenderPass::UsesDepthStencilAttachment(uint32_t subpass_num) const { … }
bool RenderPass::UsesNoAttachment(uint32_t subpass) const { … }
uint32_t RenderPass::GetDynamicRenderingColorAttachmentCount() const { … }
uint32_t RenderPass::GetDynamicRenderingViewMask() const { … }
uint32_t RenderPass::GetViewMaskBits(uint32_t subpass) const { … }
const VkMultisampledRenderToSingleSampledInfoEXT *RenderPass::GetMSRTSSInfo(uint32_t subpass) const { … }
RenderPass::RenderPass(VkRenderingInfo const *pRenderingInfo, bool rasterization_enabled)
: … { … }
RenderPass::RenderPass(VkCommandBufferInheritanceRenderingInfo const *pInheritanceRenderingInfo)
: … { … }
Framebuffer::Framebuffer(VkFramebuffer handle, const VkFramebufferCreateInfo *pCreateInfo, std::shared_ptr<RenderPass> &&rpstate,
std::vector<std::shared_ptr<vvl::ImageView>> &&attachments)
: … { … }
void Framebuffer::LinkChildNodes() { … }
void Framebuffer::Destroy() { … }
}