8#ifndef skgpu_graphite_VulkanRenderPass_DEFINED
9#define skgpu_graphite_VulkanRenderPass_DEFINED
20class VulkanCommandBuffer;
21class VulkanSharedContext;
89 void freeGpuData()
override;
94 VkRenderPass fRenderPass;
const char * getResourceType() const override
static constexpr int kColorAttachmentIdx
static void AddRenderPassInfoToKey(VulkanRenderPassMetaData &rpMetaData, ResourceKey::Builder &builder, int &builderIdx, bool compatibleOnly)
static constexpr int kMaxExpectedAttachmentCount
VkRenderPass renderPass() const
static sk_sp< VulkanRenderPass > MakeRenderPass(const VulkanSharedContext *, const RenderPassDesc &, bool compatibleOnly)
static constexpr int kColorResolveAttachmentIdx
static constexpr int kDepthStencilAttachmentIdx
static GraphiteResourceKey MakeRenderPassKey(const RenderPassDesc &, bool compatibleOnly)
static const VkAttachmentLoadOp vkLoadOp[]
static const VkAttachmentStoreOp vkStoreOp[]
@ VK_ATTACHMENT_LOAD_OP_CLEAR
@ VK_ATTACHMENT_LOAD_OP_LOAD
@ VK_ATTACHMENT_LOAD_OP_DONT_CARE
@ VK_ATTACHMENT_STORE_OP_DONT_CARE
@ VK_ATTACHMENT_STORE_OP_STORE