summaryrefslogtreecommitdiffstats
path: root/src/video_core/gpu.cpp
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2018-08-13 06:04:52 +0200
committerbunnei <bunneidev@gmail.com>2018-08-13 06:06:22 +0200
commitbdf17fe0ccacf8c59fdcd49528b649ad606b4462 (patch)
tree18d7913b263b6428f0542606f5b971f84c001ee4 /src/video_core/gpu.cpp
parentMerge pull request #1045 from bunnei/rg8-unorm (diff)
downloadyuzu-bdf17fe0ccacf8c59fdcd49528b649ad606b4462.tar
yuzu-bdf17fe0ccacf8c59fdcd49528b649ad606b4462.tar.gz
yuzu-bdf17fe0ccacf8c59fdcd49528b649ad606b4462.tar.bz2
yuzu-bdf17fe0ccacf8c59fdcd49528b649ad606b4462.tar.lz
yuzu-bdf17fe0ccacf8c59fdcd49528b649ad606b4462.tar.xz
yuzu-bdf17fe0ccacf8c59fdcd49528b649ad606b4462.tar.zst
yuzu-bdf17fe0ccacf8c59fdcd49528b649ad606b4462.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 9c73d7546..6f0343888 100644
--- a/src/video_core/gpu.cpp
+++ b/src/video_core/gpu.cpp
@@ -46,6 +46,7 @@ u32 RenderTargetBytesPerPixel(RenderTargetFormat format) {
case RenderTargetFormat::RGBA32_FLOAT:
case RenderTargetFormat::RGBA32_UINT:
return 16;
+ case RenderTargetFormat::RGBA16_UINT:
case RenderTargetFormat::RGBA16_FLOAT:
case RenderTargetFormat::RG32_FLOAT:
return 8;