v1.144
HIGHLIGHTS:
- resolved inability to use read-only depth or stencil when the other subresource is writable
- added ability to separate depth and stencil in a barrier
- introduced
PlaneBits
concept, which is also needed for video
BREAKING CHANGES:
attachmentContentType
renamed toplanes
ClearDesc::planes
must be set toPlaneBits::COLOR
explicitly for color only clears- no changes in barriers unless depth and stencil separation needed
- removed
ResourceViewBits
, use extendedTexture1DViewType
andTexture2DViewType
instead - no more API changes planned \O/
DETAILS:
- NRI: introduced
PlaneBits
- NRI: extended
Texture1DViewType
andTexture2DViewType
to include read-only depth and/or stencil - NRI: removed
ResourceViewBits
(there was not a "resource" concept), replaced with extended view types - NRI:
AttachmentContentType
replaced withPlaneBits
- NRI: added
PlaneBits
toTextureBarrierDesc
- D3D11/D3D12/VK: improvements around
ClearAttachments
- VK:
ClearAttachments
behavior matched D3D - Helper: added
planes
toTextureUploadDesc
- Validation: improved
ClearAttachments
validation - Validation: added detection of a mismatched D3D/VK behavior related to read-only depth-stencil usage