summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2018-08-09 00:21:34 +0200
committerGitHub <noreply@github.com>2018-08-09 00:21:34 +0200
commitcc2526dd51079a82a5f706e4e410ac2ca1b64635 (patch)
treef9c217351012b0f39117ce847958b54f80e7c1f9
parentMerge pull request #979 from bunnei/vtx88 (diff)
parentgpu: Add R11G11B10_FLOAT to RenderTargetBytesPerPixel. (diff)
downloadyuzu-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.cpp1
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));