summaryrefslogtreecommitdiffstats
path: root/src/video_core/gpu.cpp
diff options
context:
space:
mode:
authorFernando Sahmkow <fsahmkow27@gmail.com>2019-09-22 15:11:28 +0200
committerGitHub <noreply@github.com>2019-09-22 15:11:28 +0200
commit822ca65d695d85d8f017bc2f8c8dd5b6806c2e7d (patch)
tree1c687d74d025733b90c1a3b5de066a4961eb3c4c /src/video_core/gpu.cpp
parentMerge pull request #2867 from ReinUsesLisp/configure-framebuffers-clean (diff)
parentFix clang-format (diff)
downloadyuzu-822ca65d695d85d8f017bc2f8c8dd5b6806c2e7d.tar
yuzu-822ca65d695d85d8f017bc2f8c8dd5b6806c2e7d.tar.gz
yuzu-822ca65d695d85d8f017bc2f8c8dd5b6806c2e7d.tar.bz2
yuzu-822ca65d695d85d8f017bc2f8c8dd5b6806c2e7d.tar.lz
yuzu-822ca65d695d85d8f017bc2f8c8dd5b6806c2e7d.tar.xz
yuzu-822ca65d695d85d8f017bc2f8c8dd5b6806c2e7d.tar.zst
yuzu-822ca65d695d85d8f017bc2f8c8dd5b6806c2e7d.zip
Diffstat (limited to 'src/video_core/gpu.cpp')
-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 2c47541cb..76cfe8107 100644
--- a/src/video_core/gpu.cpp
+++ b/src/video_core/gpu.cpp
@@ -122,6 +122,7 @@ u32 RenderTargetBytesPerPixel(RenderTargetFormat format) {
case RenderTargetFormat::RGBA16_UINT:
case RenderTargetFormat::RGBA16_UNORM:
case RenderTargetFormat::RGBA16_FLOAT:
+ case RenderTargetFormat::RGBX16_FLOAT:
case RenderTargetFormat::RG32_FLOAT:
case RenderTargetFormat::RG32_UINT:
return 8;