mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-12-21 10:49:14 +00:00
dawn_native: Do attachment state validation at encoding time.
The overarching goal with this CL is to do validation at encoding time which will help produce SyncScopeResourceUsage in the frontend for dispatch() calls so that they can be reused by the backends. Bug: dawn:635 Change-Id: Ifb8b7883abe18089dc3d632baebbcc79b3f324f7 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/38843 Commit-Queue: Corentin Wallez <cwallez@chromium.org> Reviewed-by: Stephen White <senorblanco@chromium.org>
This commit is contained in:
committed by
Commit Bot service account
parent
3b49f247b0
commit
95ff834028
@@ -23,11 +23,11 @@ namespace dawn_native {
|
||||
|
||||
RenderBundleBase::RenderBundleBase(RenderBundleEncoder* encoder,
|
||||
const RenderBundleDescriptor* descriptor,
|
||||
AttachmentState* attachmentState,
|
||||
Ref<AttachmentState> attachmentState,
|
||||
PassResourceUsage resourceUsage)
|
||||
: ObjectBase(encoder->GetDevice()),
|
||||
mCommands(encoder->AcquireCommands()),
|
||||
mAttachmentState(attachmentState),
|
||||
mAttachmentState(std::move(attachmentState)),
|
||||
mResourceUsage(std::move(resourceUsage)) {
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user