summaryrefslogtreecommitdiffstats
path: root/src/video_core/gpu.cpp
diff options
context:
space:
mode:
authorgreggameplayer <33609333+greggameplayer@users.noreply.github.com>2018-08-12 03:44:42 +0200
committerbunnei <bunneidev@gmail.com>2018-08-12 03:44:42 +0200
commit224071a652fc020d492a5a4bc4e9346216185840 (patch)
tree7f938f75c88591ce3383c384188b0bc4c1d50cea /src/video_core/gpu.cpp
parentMerge pull request #1010 from bunnei/unk-vert-attrib-shader (diff)
downloadyuzu-224071a652fc020d492a5a4bc4e9346216185840.tar
yuzu-224071a652fc020d492a5a4bc4e9346216185840.tar.gz
yuzu-224071a652fc020d492a5a4bc4e9346216185840.tar.bz2
yuzu-224071a652fc020d492a5a4bc4e9346216185840.tar.lz
yuzu-224071a652fc020d492a5a4bc4e9346216185840.tar.xz
yuzu-224071a652fc020d492a5a4bc4e9346216185840.tar.zst
yuzu-224071a652fc020d492a5a4bc4e9346216185840.zip
Diffstat (limited to '')
-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 834940b83..19e7f1161 100644
--- a/src/video_core/gpu.cpp
+++ b/src/video_core/gpu.cpp
@@ -70,6 +70,7 @@ u32 RenderTargetBytesPerPixel(RenderTargetFormat format) {
case RenderTargetFormat::RG8_SNORM:
return 2;
case RenderTargetFormat::R8_UNORM:
+ case RenderTargetFormat::R8_UINT:
return 1;
default:
UNIMPLEMENTED_MSG("Unimplemented render target format {}", static_cast<u32>(format));