sawickiap/D3d12info

add missing D3D12_FEATURE_DATA_D3D12_OPTIONS12::RelaxedFormatCastingSupported

Closed this issue · 1 comments

didito commented

RelaxedFormatCastingSupported

Type: Out BOOL

Technically used to indicate support for the functionality that enables integer aliasing.

Requires the DirectX 12 Agility SDK 1.7 or later; otherwise, the value is always FALSE.

https://learn.microsoft.com/en-us/windows/win32/api/d3d12/ns-d3d12-d3d12_feature_data_d3d12_options12

I guess fix would be to add

Print_BOOL(L"RelaxedFormatCastingSupported", o.RelaxedFormatCastingSupported);

within https://github.com/sawickiap/D3d12info/blob/master/Src/Main.cpp#L283

Thank you for finding this bug! I don't know how could I miss that property 😀 I fixed it and I created release 1.5.1.