Renderer: Rename some TextureLayout entry
This commit is contained in:
parent
8028044966
commit
377129586b
|
|
@ -148,8 +148,8 @@ namespace Nz
|
||||||
{
|
{
|
||||||
ColorInput,
|
ColorInput,
|
||||||
ColorOutput,
|
ColorOutput,
|
||||||
DepthStencilInput,
|
DepthStencilReadOnly,
|
||||||
DepthStencilOutput,
|
DepthStencilReadWrite,
|
||||||
Present,
|
Present,
|
||||||
TransferSource,
|
TransferSource,
|
||||||
TransferDestination,
|
TransferDestination,
|
||||||
|
|
|
||||||
|
|
@ -427,6 +427,7 @@ namespace Nz
|
||||||
{
|
{
|
||||||
{ colorReference },
|
{ colorReference },
|
||||||
{},
|
{},
|
||||||
|
{},
|
||||||
std::nullopt
|
std::nullopt
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
@ -475,12 +476,12 @@ namespace Nz
|
||||||
AttachmentStoreOp::Discard,
|
AttachmentStoreOp::Discard,
|
||||||
AttachmentStoreOp::Discard,
|
AttachmentStoreOp::Discard,
|
||||||
TextureLayout::Undefined,
|
TextureLayout::Undefined,
|
||||||
TextureLayout::DepthStencilOutput
|
TextureLayout::DepthStencilReadWrite
|
||||||
});
|
});
|
||||||
|
|
||||||
subpasses.front().depthStencilAttachment = RenderPass::AttachmentReference{
|
subpasses.front().depthStencilAttachment = RenderPass::AttachmentReference{
|
||||||
1,
|
1,
|
||||||
TextureLayout::DepthStencilOutput
|
TextureLayout::DepthStencilReadWrite
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue