diff options
author | bunnei <bunneidev@gmail.com> | 2018-08-09 00:21:34 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-08-09 00:21:34 +0200 |
commit | cc2526dd51079a82a5f706e4e410ac2ca1b64635 (patch) | |
tree | f9c217351012b0f39117ce847958b54f80e7c1f9 | |
parent | Merge pull request #979 from bunnei/vtx88 (diff) | |
parent | gpu: Add R11G11B10_FLOAT to RenderTargetBytesPerPixel. (diff) | |
download | yuzu-cc2526dd51079a82a5f706e4e410ac2ca1b64635.tar yuzu-cc2526dd51079a82a5f706e4e410ac2ca1b64635.tar.gz yuzu-cc2526dd51079a82a5f706e4e410ac2ca1b64635.tar.bz2 yuzu-cc2526dd51079a82a5f706e4e410ac2ca1b64635.tar.lz yuzu-cc2526dd51079a82a5f706e4e410ac2ca1b64635.tar.xz yuzu-cc2526dd51079a82a5f706e4e410ac2ca1b64635.tar.zst yuzu-cc2526dd51079a82a5f706e4e410ac2ca1b64635.zip |
-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 b2a83ce0b..4ff4d71c5 100644 --- a/src/video_core/gpu.cpp +++ b/src/video_core/gpu.cpp @@ -42,6 +42,7 @@ u32 RenderTargetBytesPerPixel(RenderTargetFormat format) { case RenderTargetFormat::RGB10_A2_UNORM: case RenderTargetFormat::BGRA8_UNORM: case RenderTargetFormat::R32_FLOAT: + case RenderTargetFormat::R11G11B10_FLOAT: return 4; default: UNIMPLEMENTED_MSG("Unimplemented render target format {}", static_cast<u32>(format)); |