swap aspect ratio for zcull status in log parsing result

This commit is contained in:
13xforever 2020-02-02 21:20:11 +05:00
parent b19443ca9a
commit 6fffaf3bfa
2 changed files with 8 additions and 2 deletions

View File

@ -141,13 +141,13 @@ namespace CompatBot.Utils.ResultFormatters
var lines = new List<string>
{
$"Renderer:{items["renderer"],ColumnWidth-8}",
$"Aspect ratio:{items["aspect_ratio"],ColumnWidth-12}",
$"Resolution:{items["resolution"],ColumnWidth-10}",
$"Resolution Scale:{items["resolution_scale"] ?? "N/A",ColumnWidth-16}",
$"Res Scale Threshold:{items["texture_scale_threshold"] ?? "N/A",ColumnWidth-19}",
$"Write Color Buffers:{items["write_color_buffers"],ColumnWidth-19}",
$"Anti-Aliasing:{items["msaa"] ?? "N/A",ColumnWidth-13}",
$"Anisotropic Filter:{items["af_override"] ?? "N/A",ColumnWidth-18}",
$"Write Color Buffers:{items["write_color_buffers"],ColumnWidth-19}",
$"ZCull:{items["zcull_status"],ColumnWidth-5}",
$"Frame Limit:{items["frame_limit"],ColumnWidth-11}",
$"VSync:{items["vsync"] ?? "N/A",ColumnWidth-5}",
};

View File

@ -319,6 +319,12 @@ namespace CompatBot.Utils.ResultFormatters
else if (af == "1")
items["af_override"] = "Disabled";
}
if (items["zcull"] == "true")
items["zcull_status"] = DisabledMark;
else if (items["relaxed_zcull"] == "true")
items["zcull_status"] = "Relaxed";
else
items["zcull_status"] = EnabledMark;
if (items["lib_loader"] is string libLoader)
{
var liblv2 = libLoader.Contains("liblv2", StringComparison.InvariantCultureIgnoreCase);