#include "dawn/native/RenderBundleEncoder.h"
#include <utility>
#include "dawn/native/CommandValidation.h"
#include "dawn/native/Commands.h"
#include "dawn/native/Device.h"
#include "dawn/native/Format.h"
#include "dawn/native/ObjectType_autogen.h"
#include "dawn/native/RenderPipeline.h"
#include "dawn/native/ValidationUtils_autogen.h"
#include "dawn/platform/DawnPlatform.h"
#include "dawn/platform/tracing/TraceEvent.h"
namespace dawn::native {
MaybeError ValidateColorAttachmentFormat(const DeviceBase* device,
wgpu::TextureFormat textureFormat) { … }
MaybeError ValidateDepthStencilAttachmentFormat(const DeviceBase* device,
wgpu::TextureFormat textureFormat,
bool depthReadOnly,
bool stencilReadOnly) { … }
MaybeError ValidateRenderBundleEncoderDescriptor(DeviceBase* device,
const RenderBundleEncoderDescriptor* descriptor) { … }
RenderBundleEncoder::RenderBundleEncoder(DeviceBase* device,
const RenderBundleEncoderDescriptor* descriptor)
: … { … }
RenderBundleEncoder::RenderBundleEncoder(DeviceBase* device, ErrorTag errorTag, const char* label)
: … { … }
RenderBundleEncoder::~RenderBundleEncoder() { … }
void RenderBundleEncoder::DestroyImpl() { … }
Ref<RenderBundleEncoder> RenderBundleEncoder::Create(
DeviceBase* device,
const RenderBundleEncoderDescriptor* descriptor) { … }
Ref<RenderBundleEncoder> RenderBundleEncoder::MakeError(DeviceBase* device, const char* label) { … }
ObjectType RenderBundleEncoder::GetType() const { … }
CommandIterator RenderBundleEncoder::AcquireCommands() { … }
RenderBundleBase* RenderBundleEncoder::APIFinish(const RenderBundleDescriptor* descriptor) { … }
ResultOrError<Ref<RenderBundleBase>> RenderBundleEncoder::Finish(
const RenderBundleDescriptor* descriptor) { … }
MaybeError RenderBundleEncoder::ValidateFinish(const RenderPassResourceUsage& usages) const { … }
}