summaryrefslogtreecommitdiff
path: root/src/video_core/surface.cpp
diff options
context:
space:
mode:
authorMorph <39850852+Morph1984@users.noreply.github.com>2020-04-30 12:17:02 -0400
committerMorph <39850852+Morph1984@users.noreply.github.com>2020-04-30 13:19:36 -0400
commit7909860d16118f3db5006ccd379c1dae27eb5a1b (patch)
tree5506721386d37c2d3ea4425b155128b4bdc475e5 /src/video_core/surface.cpp
parent3e9cafbee5aea7820f4e411d02f2f5cf5340bb75 (diff)
texture: Implement R8G8UI
- Used by The Walking Dead: The Final Season
Diffstat (limited to 'src/video_core/surface.cpp')
-rw-r--r--src/video_core/surface.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/video_core/surface.cpp b/src/video_core/surface.cpp
index cc7181229..bbe93903c 100644
--- a/src/video_core/surface.cpp
+++ b/src/video_core/surface.cpp
@@ -145,6 +145,8 @@ PixelFormat PixelFormatFromRenderTargetFormat(Tegra::RenderTargetFormat format)
return PixelFormat::RG8U;
case Tegra::RenderTargetFormat::RG8_SNORM:
return PixelFormat::RG8S;
+ case Tegra::RenderTargetFormat::RG8_UINT:
+ return PixelFormat::RG8UI;
case Tegra::RenderTargetFormat::R16_FLOAT:
return PixelFormat::R16F;
case Tegra::RenderTargetFormat::R16_UNORM: