[VFS] Suppress error msg for ShaderDumpxe:\CB.

[VFS] Suppress error message for ShaderDumpxe:\CompareBackends.
This commit is contained in:
gibbed 2021-06-28 12:23:16 -05:00 committed by Rick Gibbed
parent a12f775c23
commit fa8e2ee788
1 changed files with 5 additions and 1 deletions

View File

@ -117,7 +117,11 @@ Entry* VirtualFileSystem::ResolvePath(const std::string_view path) {
return xe::utf8::starts_with(normalized_path, d->mount_path());
});
if (it == devices_.cend()) {
XELOGE("ResolvePath({}) failed - device not found", path);
// Supress logging the error for ShaderDumpxe:\CompareBackEnds as this is
// not an actual problem nor something we care about.
if (path != "ShaderDumpxe:\\CompareBackEnds") {
XELOGE("ResolvePath({}) failed - device not found", path);
}
return nullptr;
}