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
PlaneBitsconcept, which is also needed for video
BREAKING CHANGES:
attachmentContentTyperenamed toplanesClearDesc::planesmust be set toPlaneBits::COLORexplicitly for color only clears- no changes in barriers unless depth and stencil separation needed
- removed
ResourceViewBits, use extendedTexture1DViewTypeandTexture2DViewTypeinstead - no more API changes planned \O/
DETAILS:
- NRI: introduced
PlaneBits - NRI: extended
Texture1DViewTypeandTexture2DViewTypeto include read-only depth and/or stencil - NRI: removed
ResourceViewBits(there was not a "resource" concept), replaced with extended view types - NRI:
AttachmentContentTypereplaced withPlaneBits - NRI: added
PlaneBitstoTextureBarrierDesc - D3D11/D3D12/VK: improvements around
ClearAttachments - VK:
ClearAttachmentsbehavior matched D3D - Helper: added
planestoTextureUploadDesc - Validation: improved
ClearAttachmentsvalidation - Validation: added detection of a mismatched D3D/VK behavior related to read-only depth-stencil usage