summaryrefslogtreecommitdiffstats
path: root/tools/platform
diff options
context:
space:
mode:
authorlucy96chen <47800040+lucy96chen@users.noreply.github.com>2022-05-04 11:44:24 -0700
committerGitHub <noreply@github.com>2022-05-04 11:44:24 -0700
commitca86ce28829987fce2df4a81da976e6b18e17ad1 (patch)
tree7c5032b8475157392aca4ff624357b3661534174 /tools/platform
parentf4c2b0de41f703aa2000c344484e7cd37db56a32 (diff)
Changed all uses of attachment (in the context of render/depth stencil targets) to target (#2214)
Co-authored-by: Theresa Foley <10618364+tangent-vector@users.noreply.github.com>
Diffstat (limited to 'tools/platform')
-rw-r--r--tools/platform/gui.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/platform/gui.cpp b/tools/platform/gui.cpp
index a26e79be1..8bfff2d11 100644
--- a/tools/platform/gui.cpp
+++ b/tools/platform/gui.cpp
@@ -174,12 +174,12 @@ GUI::GUI(
{
IRenderPassLayout::Desc desc;
desc.framebufferLayout = framebufferLayout;
- IRenderPassLayout::AttachmentAccessDesc colorAccess;
+ IRenderPassLayout::TargetAccessDesc colorAccess;
desc.depthStencilAccess = nullptr;
colorAccess.initialState = ResourceState::Present;
colorAccess.finalState = ResourceState::Present;
- colorAccess.loadOp = IRenderPassLayout::AttachmentLoadOp::Load;
- colorAccess.storeOp = IRenderPassLayout::AttachmentStoreOp::Store;
+ colorAccess.loadOp = IRenderPassLayout::TargetLoadOp::Load;
+ colorAccess.storeOp = IRenderPassLayout::TargetStoreOp::Store;
desc.renderTargetAccess = &colorAccess;
desc.renderTargetCount = 1;
renderPass = device->createRenderPassLayout(desc);