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