diff options
Diffstat (limited to 'src/video_core/gpu.cpp')
| -rw-r--r-- | src/video_core/gpu.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/video_core/gpu.cpp b/src/video_core/gpu.cpp index 60c49d672..141e20444 100644 --- a/src/video_core/gpu.cpp +++ b/src/video_core/gpu.cpp | |||
| @@ -40,6 +40,7 @@ u32 RenderTargetBytesPerPixel(RenderTargetFormat format) { | |||
| 40 | case RenderTargetFormat::RGBA8_UNORM: | 40 | case RenderTargetFormat::RGBA8_UNORM: |
| 41 | case RenderTargetFormat::RGB10_A2_UNORM: | 41 | case RenderTargetFormat::RGB10_A2_UNORM: |
| 42 | case RenderTargetFormat::BGRA8_UNORM: | 42 | case RenderTargetFormat::BGRA8_UNORM: |
| 43 | case RenderTargetFormat::R32_FLOAT: | ||
| 43 | return 4; | 44 | return 4; |
| 44 | default: | 45 | default: |
| 45 | UNIMPLEMENTED_MSG("Unimplemented render target format {}", static_cast<u32>(format)); | 46 | UNIMPLEMENTED_MSG("Unimplemented render target format {}", static_cast<u32>(format)); |