mirror of
https://github.com/RPCS3/discord-bot.git
synced 2025-03-03 23:37:03 +00:00
update vertex cache checks
This commit is contained in:
parent
7dd567a0cf
commit
2e273a5cfd
@ -49,11 +49,9 @@ namespace CompatBot.Utils.ResultFormatters
|
||||
}
|
||||
if (items["stretch_to_display"] == EnabledMark)
|
||||
notes.Add("🤢 `Stretch to Display Area` is enabled");
|
||||
if (KnownDisableVertexCacheIds.Contains(serial))
|
||||
{
|
||||
if (items["vertex_cache"] == DisabledMark)
|
||||
notes.Add("⚠ This game requires disabling `Vertex Cache` in the GPU tab of the Settings");
|
||||
}
|
||||
var vertexCacheDisabled = items["vertex_cache"] == EnabledMark || items["mtrsx"] == EnabledMark;
|
||||
if (KnownDisableVertexCacheIds.Contains(serial) && !vertexCacheDisabled)
|
||||
notes.Add("⚠ This game requires disabling `Vertex Cache` option");
|
||||
|
||||
if (items["rsx_not_supported"] is string notSupported)
|
||||
{
|
||||
@ -155,9 +153,10 @@ namespace CompatBot.Utils.ResultFormatters
|
||||
notes.Add("⚠ `Write Color Buffers` is disabled, please enable");
|
||||
}
|
||||
if (items["vertex_cache"] == EnabledMark
|
||||
&& items["mtrsx"] == DisabledMark
|
||||
&& !string.IsNullOrEmpty(serial)
|
||||
&& !KnownDisableVertexCacheIds.Contains(serial))
|
||||
notes.Add("⚠ `Vertex Cache` is disabled, please re-enable");
|
||||
notes.Add("ℹ `Vertex Cache` is disabled, and may impact performance");
|
||||
if (items["frame_skip"] == EnabledMark)
|
||||
notes.Add("⚠ `Frame Skip` is enabled, please disable");
|
||||
if (items["cpu_blit"] is string cpuBlit
|
||||
|
@ -95,6 +95,7 @@ namespace CompatBot.Utils.ResultFormatters
|
||||
private static readonly string[] KnownDisableVertexCacheIds =
|
||||
{
|
||||
"NPEB00258", "NPUB30162", "NPJB00068", // scott pilgrim
|
||||
"NPEB00303", "NPUB30242", "NPHB00229", // crazy taxi
|
||||
};
|
||||
|
||||
private static readonly HashSet<string> KnownNoApproximateXFloatIds = new HashSet<string>
|
||||
|
Loading…
x
Reference in New Issue
Block a user