video-core: Migrate logging macros (#3878)
* video-core: Migrate logging macros * video-core: Fixed missed clang format * video-core: Migrated LOG_GENERIC macro
This commit is contained in:
parent
3cf5c1a5b4
commit
9ae70e733f
22 changed files with 156 additions and 149 deletions
|
@ -363,7 +363,8 @@ static void ProcessTriangleInternal(const Vertex& v0, const Vertex& v1, const Ve
|
|||
}
|
||||
default:
|
||||
// TODO: Change to LOG_ERROR when more types are handled.
|
||||
LOG_DEBUG(HW_GPU, "Unhandled texture type %x", (int)texture.config.type);
|
||||
NGLOG_DEBUG(HW_GPU, "Unhandled texture type {:x}",
|
||||
(int)texture.config.type);
|
||||
UNIMPLEMENTED();
|
||||
break;
|
||||
}
|
||||
|
@ -512,7 +513,7 @@ static void ProcessTriangleInternal(const Vertex& v0, const Vertex& v1, const Ve
|
|||
return combiner_output;
|
||||
|
||||
default:
|
||||
LOG_ERROR(HW_GPU, "Unknown color combiner source %d", (int)source);
|
||||
NGLOG_ERROR(HW_GPU, "Unknown color combiner source {}", (int)source);
|
||||
UNIMPLEMENTED();
|
||||
return {0, 0, 0, 0};
|
||||
}
|
||||
|
@ -843,7 +844,8 @@ static void ProcessTriangleInternal(const Vertex& v0, const Vertex& v1, const Ve
|
|||
return std::min(combiner_output.a(), static_cast<u8>(255 - dest.a()));
|
||||
|
||||
default:
|
||||
LOG_CRITICAL(HW_GPU, "Unknown blend factor %x", static_cast<u32>(factor));
|
||||
NGLOG_CRITICAL(HW_GPU, "Unknown blend factor {:x}",
|
||||
static_cast<u32>(factor));
|
||||
UNIMPLEMENTED();
|
||||
break;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue