There is no direct DXGI equivalent to the legacy Direct3D 9 vertex format D3DDECLTYPE_DEC3N. It's a signed 10:10:10 normalized format. Some legacy DirectX SDK samples for DX10 / DX 11 just treat it as DXGI_FORMAT_R10G10B10A2_UNORM which kind of works.
This update uses that hack for DirectXTK, but emits a warning in debug builds.
There is no direct DXGI equivalent to the legacy Direct3D 9 vertex format
D3DDECLTYPE_DEC3N
. It's a signed 10:10:10 normalized format. Some legacy DirectX SDK samples for DX10 / DX 11 just treat it asDXGI_FORMAT_R10G10B10A2_UNORM
which kind of works.This update uses that hack for DirectXTK, but emits a warning in debug builds.