Skip to content

v1.144

Compare
Choose a tag to compare
@dzhdanNV dzhdanNV released this 30 Aug 03:18
· 157 commits to main since this release

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 to planes
  • ClearDesc::planes must be set to PlaneBits::COLOR explicitly for color only clears
  • no changes in barriers unless depth and stencil separation needed
  • removed ResourceViewBits, use extended Texture1DViewType and Texture2DViewType instead
  • no more API changes planned \O/

DETAILS:

  • NRI: introduced PlaneBits
  • NRI: extended Texture1DViewType and Texture2DViewType 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 with PlaneBits
  • NRI: added PlaneBits to TextureBarrierDesc
  • D3D11/D3D12/VK: improvements around ClearAttachments
  • VK: ClearAttachments behavior matched D3D
  • Helper: added planes to TextureUploadDesc
  • Validation: improved ClearAttachments validation
  • Validation: added detection of a mismatched D3D/VK behavior related to read-only depth-stencil usage