[D3D12] Make the feature list in the log sorted again

This commit is contained in:
Triang3l 2020-09-06 00:57:00 +03:00
parent 38e0cc4941
commit acb1fc059f
1 changed files with 5 additions and 6 deletions

View File

@ -420,18 +420,17 @@ bool D3D12Provider::Initialize() {
XELOGD3D( XELOGD3D(
"Direct3D 12 device and OS features:\n" "Direct3D 12 device and OS features:\n"
"* Max GPU virtual address bits per resource: {}\n" "* Max GPU virtual address bits per resource: {}\n"
"* Non-zeroed heap creation: {}\n"
"* Programmable sample positions: tier {}\n" "* Programmable sample positions: tier {}\n"
"* Rasterizer-ordered views: {}\n" "* Rasterizer-ordered views: {}\n"
"* Resource binding: tier {}\n" "* Resource binding: tier {}\n"
"* Tiled resources: tier {}\n" "* Tiled resources: tier {}\n",
"* Non-zeroed heap creation: {}\n",
virtual_address_bits_per_resource_, virtual_address_bits_per_resource_,
(heap_flag_create_not_zeroed_ & D3D12_HEAP_FLAG_CREATE_NOT_ZEROED) ? "yes"
: "no",
uint32_t(programmable_sample_positions_tier_), uint32_t(programmable_sample_positions_tier_),
rasterizer_ordered_views_supported_ ? "yes" : "no", rasterizer_ordered_views_supported_ ? "yes" : "no",
uint32_t(resource_binding_tier_), uint32_t(tiled_resources_tier_), uint32_t(resource_binding_tier_), uint32_t(tiled_resources_tier_));
(heap_flag_create_not_zeroed_ & D3D12_HEAP_FLAG_CREATE_NOT_ZEROED)
? "yes"
: "no");
// Get the graphics analysis interface, will silently fail if PIX is not // Get the graphics analysis interface, will silently fail if PIX is not
// attached. // attached.