Implement BGRA8 framebuffer format

This commit is contained in:
greggameplayer 2019-01-11 21:15:30 +01:00 committed by Unknown
parent a6452e772f
commit b4603fafcb
3 changed files with 4 additions and 0 deletions

View file

@ -426,6 +426,8 @@ PixelFormat PixelFormatFromGPUPixelFormat(Tegra::FramebufferConfig::PixelFormat
switch (format) {
case Tegra::FramebufferConfig::PixelFormat::ABGR8:
return PixelFormat::ABGR8U;
case Tegra::FramebufferConfig::PixelFormat::BGRA8:
return PixelFormat::BGRA8;
default:
LOG_CRITICAL(HW_GPU, "Unimplemented format={}", static_cast<u32>(format));
UNREACHABLE();