#include "src/gpu/graphite/RenderPassDesc.h"
#include "src/gpu/graphite/Caps.h"
namespace skgpu::graphite {
namespace {
const char* to_str(LoadOp op) { … }
const char* to_str(StoreOp op) { … }
}
RenderPassDesc RenderPassDesc::Make(const Caps* caps,
const TextureInfo& targetInfo,
LoadOp loadOp,
StoreOp storeOp,
SkEnumBitMask<DepthStencilFlags> depthStencilFlags,
const std::array<float, 4>& clearColor,
bool requiresMSAA,
Swizzle writeSwizzle) { … }
SkString RenderPassDesc::toString() const { … }
SkString RenderPassDesc::toPipelineLabel() const { … }
SkString AttachmentDesc::toString() const { … }
}