chromium/third_party/vulkan-validation-layers/src/layers/state_tracker/render_pass_state.cpp

/* Copyright (c) 2015-2024 The Khronos Group Inc.
 * Copyright (c) 2015-2024 Valve Corporation
 * Copyright (c) 2015-2024 LunarG, Inc.
 * Copyright (C) 2015-2024 Google Inc.
 * Modifications Copyright (C) 2020 Advanced Micro Devices, Inc. All rights reserved.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

#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) {}
// NOTE: The functions below are only called from the vvl::RenderPass constructor, and use const_cast<> to set up
// members that never change after construction is finished.
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 {}

// vkspec.html#renderpass-noattachments
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() {}

}  // namespace vvl