summaryrefslogtreecommitdiffstats
path: root/src/video_core/gpu.cpp
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2018-08-13 05:02:34 +0200
committerbunnei <bunneidev@gmail.com>2018-08-13 05:08:50 +0200
commitc56a0e3c34f29a439daa3b0df867480fac9780c3 (patch)
treebcaeea8ff9ededbcf5b370ea4170563c5a94bf55 /src/video_core/gpu.cpp
parentMerge pull request #1043 from Subv/timing (diff)
downloadyuzu-c56a0e3c34f29a439daa3b0df867480fac9780c3.tar
yuzu-c56a0e3c34f29a439daa3b0df867480fac9780c3.tar.gz
yuzu-c56a0e3c34f29a439daa3b0df867480fac9780c3.tar.bz2
yuzu-c56a0e3c34f29a439daa3b0df867480fac9780c3.tar.lz
yuzu-c56a0e3c34f29a439daa3b0df867480fac9780c3.tar.xz
yuzu-c56a0e3c34f29a439daa3b0df867480fac9780c3.tar.zst
yuzu-c56a0e3c34f29a439daa3b0df867480fac9780c3.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 19e7f1161..9c73d7546 100644
--- a/src/video_core/gpu.cpp
+++ b/src/video_core/gpu.cpp
@@ -67,6 +67,7 @@ u32 RenderTargetBytesPerPixel(RenderTargetFormat format) {
case RenderTargetFormat::R16_UINT:
case RenderTargetFormat::R16_SINT:
case RenderTargetFormat::R16_FLOAT:
+ case RenderTargetFormat::RG8_UNORM:
case RenderTargetFormat::RG8_SNORM:
return 2;
case RenderTargetFormat::R8_UNORM: