summaryrefslogtreecommitdiff
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-11 21:44:42 -0400
commit224071a652fc020d492a5a4bc4e9346216185840 (patch)
tree7f938f75c88591ce3383c384188b0bc4c1d50cea /src/video_core/gpu.cpp
parent403dfd68fc41cec2261915d1647305c016a93440 (diff)
Implement R8_UINT RenderTargetFormat & PixelFormat (#1014)
- Used by Go Vacation
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 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));