summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorgreggameplayer <gregoire.hage@gmail.com>2019-11-12 20:09:54 +0100
committerUnknown <gregoire.hage@gmail.com>2019-11-14 21:37:39 +0100
commitc6bc13d0aafd0d825f05a5c64fa40f3da7a41876 (patch)
tree6a8b4e15e706506fb1f8772d0ecee5065f7d202a /src
parentMerge pull request #3089 from SciresM/play_statistics (diff)
downloadyuzu-c6bc13d0aafd0d825f05a5c64fa40f3da7a41876.tar
yuzu-c6bc13d0aafd0d825f05a5c64fa40f3da7a41876.tar.gz
yuzu-c6bc13d0aafd0d825f05a5c64fa40f3da7a41876.tar.bz2
yuzu-c6bc13d0aafd0d825f05a5c64fa40f3da7a41876.tar.lz
yuzu-c6bc13d0aafd0d825f05a5c64fa40f3da7a41876.tar.xz
yuzu-c6bc13d0aafd0d825f05a5c64fa40f3da7a41876.tar.zst
yuzu-c6bc13d0aafd0d825f05a5c64fa40f3da7a41876.zip
Diffstat (limited to 'src')
-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 621136b6e..4b6846113 100644
--- a/src/video_core/surface.cpp
+++ b/src/video_core/surface.cpp
@@ -249,6 +249,8 @@ PixelFormat PixelFormatFromTextureFormat(Tegra::Texture::TextureFormat format,
return PixelFormat::RGBA16U;
case Tegra::Texture::ComponentType::FLOAT:
return PixelFormat::RGBA16F;
+ case Tegra::Texture::ComponentType::UINT:
+ return PixelFormat::RGBA16UI;
default:
break;
}