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