summaryrefslogtreecommitdiff
path: root/src/video_core/surface.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/video_core/surface.cpp')
-rw-r--r--src/video_core/surface.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/video_core/surface.cpp b/src/video_core/surface.cpp
index 53d0142cb..250afc6d6 100644
--- a/src/video_core/surface.cpp
+++ b/src/video_core/surface.cpp
@@ -159,6 +159,8 @@ PixelFormat PixelFormatFromRenderTargetFormat(Tegra::RenderTargetFormat format)
159 return PixelFormat::R32UI; 159 return PixelFormat::R32UI;
160 case Tegra::RenderTargetFormat::RG32_UINT: 160 case Tegra::RenderTargetFormat::RG32_UINT:
161 return PixelFormat::RG32UI; 161 return PixelFormat::RG32UI;
162 case Tegra::RenderTargetFormat::RGBX16_FLOAT:
163 return PixelFormat::RGBX16F;
162 default: 164 default:
163 LOG_CRITICAL(HW_GPU, "Unimplemented format={}", static_cast<u32>(format)); 165 LOG_CRITICAL(HW_GPU, "Unimplemented format={}", static_cast<u32>(format));
164 UNREACHABLE(); 166 UNREACHABLE();
@@ -415,6 +417,7 @@ ComponentType ComponentTypeFromRenderTarget(Tegra::RenderTargetFormat format) {
415 case Tegra::RenderTargetFormat::RG8_SNORM: 417 case Tegra::RenderTargetFormat::RG8_SNORM:
416 return ComponentType::SNorm; 418 return ComponentType::SNorm;
417 case Tegra::RenderTargetFormat::RGBA16_FLOAT: 419 case Tegra::RenderTargetFormat::RGBA16_FLOAT:
420 case Tegra::RenderTargetFormat::RGBX16_FLOAT:
418 case Tegra::RenderTargetFormat::R11G11B10_FLOAT: 421 case Tegra::RenderTargetFormat::R11G11B10_FLOAT:
419 case Tegra::RenderTargetFormat::RGBA32_FLOAT: 422 case Tegra::RenderTargetFormat::RGBA32_FLOAT:
420 case Tegra::RenderTargetFormat::RG32_FLOAT: 423 case Tegra::RenderTargetFormat::RG32_FLOAT: