microsoft / DirectXTK12

The DirectX Tool Kit (aka DirectXTK12) is a collection of helper classes for writing DirectX 12 code in C++
https://walbourn.github.io/directx-tool-kit-for-directx-12/
MIT License
1.45k stars 371 forks source link

DepthReverseZ and DepthReadReverseZ CommonStates #111

Closed walbourn closed 2 years ago

walbourn commented 2 years ago

Add two more common states to make it easier to use reversez.

No need to change any of the Model or GeometricPrimitive rendering like was done for DX11 because you can just use the new reverse CommonStates for the EffectPiplineDescription.

walbourn commented 2 years ago

Test suite change is in this PR