diff options
author | Rodrigo Locatti <reinuseslisp@airmail.cc> | 2019-11-14 22:21:12 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-11-14 22:21:12 +0100 |
commit | 790a482bb4767f0b00095887277400a88730f0ae (patch) | |
tree | 6a8b4e15e706506fb1f8772d0ecee5065f7d202a /src/video_core/surface.cpp | |
parent | Merge pull request #3089 from SciresM/play_statistics (diff) | |
parent | correct the implementation of RGBA16UI (diff) | |
download | yuzu-790a482bb4767f0b00095887277400a88730f0ae.tar yuzu-790a482bb4767f0b00095887277400a88730f0ae.tar.gz yuzu-790a482bb4767f0b00095887277400a88730f0ae.tar.bz2 yuzu-790a482bb4767f0b00095887277400a88730f0ae.tar.lz yuzu-790a482bb4767f0b00095887277400a88730f0ae.tar.xz yuzu-790a482bb4767f0b00095887277400a88730f0ae.tar.zst yuzu-790a482bb4767f0b00095887277400a88730f0ae.zip |
Diffstat (limited to 'src/video_core/surface.cpp')
-rw-r--r-- | src/video_core/surface.cpp | 2 |
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; } |