summaryrefslogtreecommitdiff
path: root/src/video_core/surface.cpp
diff options
context:
space:
mode:
authorGravatar Rodrigo Locatti2019-11-14 18:21:12 -0300
committerGravatar GitHub2019-11-14 18:21:12 -0300
commit790a482bb4767f0b00095887277400a88730f0ae (patch)
tree6a8b4e15e706506fb1f8772d0ecee5065f7d202a /src/video_core/surface.cpp
parentMerge pull request #3089 from SciresM/play_statistics (diff)
parentcorrect the implementation of RGBA16UI (diff)
downloadyuzu-790a482bb4767f0b00095887277400a88730f0ae.tar.gz
yuzu-790a482bb4767f0b00095887277400a88730f0ae.tar.xz
yuzu-790a482bb4767f0b00095887277400a88730f0ae.zip
Merge pull request #3110 from greggameplayer/CompleteRGBA16UI
Complete the implementation of RGBA16UI
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 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,
249 return PixelFormat::RGBA16U; 249 return PixelFormat::RGBA16U;
250 case Tegra::Texture::ComponentType::FLOAT: 250 case Tegra::Texture::ComponentType::FLOAT:
251 return PixelFormat::RGBA16F; 251 return PixelFormat::RGBA16F;
252 case Tegra::Texture::ComponentType::UINT:
253 return PixelFormat::RGBA16UI;
252 default: 254 default:
253 break; 255 break;
254 } 256 }